The Get Pointers component returns a datatree of hand rays on headsets supporting hand tracking, and touch rays on mobile devices. The datatree is structured such that branches define devices, and list indexes define rays tracked by that device. The default output is filtered by only pointers that are Tapping. The Deconstruct Pointer component returns:
Device - the device that detected the pointer.
Source - the source plane of the pointer.
Target - the cursor point at the end of the pointer.
Left - a boolean indicating whether the pointer is the users Left (true) or Right (false) hand. Null on mobile.
Pressing - a boolean indicating whether the pointer is currently pressing
States - a list of text strings describing the current states of the pointer
Using Pointer State
The Pressing and States outputs of the Deconstruct Pointer component can be used in conjunction with the State Gate to enable and disable other components in the definition.