if
This block is part of the geopoint group and was last modified in core v10.4.28.
if v10.4.28 In pins 3
- true required
geo_point - false required
geo_point - boolean required
condition
Out pins 1
- geo point
geo_point
A typical wiring for if: from city feeds the then pin; == feeds the condition pin; create feeds the else pin; the geo_point out pin feeds get distance.

Commonly used with
In production blueprints, this block is most often wired together with:
- if: wired in both directions with this block.
- from city: feeds into this block. Resolves a city/town name (optionally constrained to a country code, e.g. NL, and a province/state, e.g. Vermont) to a geo point at the city centre, plus the city's radius in metres and its province/country. Offline lookup against the embedded dataset. A city name is not unique within a country — eight US states have a Morristown — so wire province whenever you know it, for example straight from geo point reverse geocode.
- ==: feeds into this block. returns true if the two values are equal.
- create: feeds into this block. Generates a geo point based on the given latitude and longitude.
- set fields: this block feeds into it. Generates an array of mutations based on the given filled fields.
Used in these guides
These documentation pages use or explain this block:
Version history
Introduced in v10.4.28.
Back to
geopoint Return to the main group to view all sub-groups Back to geopoint: conditions Return to the group to view all blocks within this group
