⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

UI.LastElementHandActive

static BtnState LastElementHandActive(Handed hand)

Tells if the hand was involved in the active state of the most recently called UI element using an id. Active state is frequently a single frame in the case of Buttons, but could be many in the case of Sliders or Handles.

   
Handed hand Which hand we’re checking.
RETURNS: BtnState A BtnState that indicated the hand was “just active” this frame, is currently “active” or if it “just became inactive” this frame.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!