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

Interactor.IsInteracting

static bool IsInteracting(InteractorSource source)

Is any interactor from the given source currently interacting with an element, that is, actively pressing or focusing it? Sources can be combined as a bit-flag to ask about several at once, e.g. InteractorSource.HandLeft | InteractorSource.HandRight.

   
InteractorSource source The source, or combination of sources, to check.
RETURNS: bool True if a matching interactor has an active element.




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