Titania X3D Editor

Bring Colours to Your Life.

Titania v4.3.3

Bring Colours to Your Life.

X3D Reference



GeoProximitySensor generates events when the viewer enters, exits and moves within a region of space (defined by a box).

The GeoProximitySensor node belongs to the Geospatial component and its container field is children. It is available since X3D version 3.2 or later.



SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFNode [ ] geoOrigin NULL [GeoOrigin] (deprecated)

Field geoOrigin.

SFBool [in, out] enabled TRUE

Enables/disables node operation.

SFVec3f [in, out] size 0 0 0 [0,∞)

Size of Proximity box.


Size 0 0 0 is same as enabled false.

SFVec3f [in, out] center 0 0 0 (-∞,∞) (starting with vs. 3.3)

(starting with v3.3) Position offset from origin of local coordinate system.

SFBool [out] isActive

IsActive true/false events are sent as viewer enters/exits Proximity box. isActive=true when viewer enters Proximity box, isActive=false when viewer exits Proximity box.

SFTime [out] enterTime

Time event generated when user's camera enters the box.

SFTime [out] exitTime

Time event generated when user's camera exits the box.

SFVec3d [out] geoCoord_changed

Output field geoCoord_changed.

SFVec3f [out] position_changed

Sends translation event relative to center.

SFRotation [out] orientation_changed

Sends rotation event relative to center.

SFVec3f [out] centerOfRotation_changed

Sends changed centerOfRotation values, likely caused by user interaction.



  • Multiple USEd instances are cumulative, but avoid overlaps.
  • Can first use GeoTransform to relocate/reorient box.
  • Surround entire world to start behaviors once scene is loaded.
  • Include <component name='Geospatial' level='2'/>

Browser Compatibility

Titania X_ITE
yes yes

External Links