Titania X3D Editor

Bring Colours to Your Life.

Titania v4.6.10

Bring Colours to Your Life.

X3D Reference



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

The ProximitySensor node belongs to the EnvironmentalSensor component and its container field is children. It is available since X3D version 3.0 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.

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 (-∞,∞)

Position offset from origin of local coordinate system.

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.

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.

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 Transform to relocate/reorient box.
  • Surround entire world to start behaviors once scene is loaded.


screenshot ProximitySensor

XML Encoding

Classic Encoding

JSON Encoding

Browser Compatibility

Titania X_ITE
yes yes

External Links

Cookies and other Technologies

By clicking »Accept« or continuing to use the site, you agree to the use of CREATE3000 and third-party cookies and other similar technologies to enhance your browsing experience, analyze and measure your engagement with our content, and provide more relevant ads on CREATE3000 websites and others. Learn more about cookies. You can withdraw your consent at any time.

create3000.de is going to be shut down next year, but we have a new clean and slick web site for you, go to new X_ITE web site, consider updating your X_ITE URL's, or go to new Titania web site or continue reading.