The targeting field an interactor is in, resolved by SpecsInteractionModule against the
registered InteractionPlanes: targeting from a distance (FarField), hovering inside a
plane's near-field zone (NearField), touching its physical zone (Physical), or having passed
behind it (BehindNearField). Read it from SpecsInteractionModule.Interactor#fieldState.
Since
Lens Scripting Version 375
Snap OS
Example
if (interactor.fieldState === SpecsInteractionModule.FieldState.Physical) { print("interactor " + interactor.id + " is touching a plane"); }
The targeting field an interactor is in, resolved by SpecsInteractionModule against the registered InteractionPlanes: targeting from a distance (FarField), hovering inside a plane's near-field zone (NearField), touching its physical zone (Physical), or having passed behind it (BehindNearField). Read it from SpecsInteractionModule.Interactor#fieldState.
Since
Lens Scripting Version 375
Snap OS
Example