Vizard 7 » Command Index » Vizard objects » sensor » <sensor>.getButtonState
7.6

<sensor>.getButtonState

Return the current state of the sensor buttons as a bit flag

<sensor>.getButtonState()  

Remarks

This command will return the state of all buttons as a bit flag.

Return Value

Button state bits

See also

<sensor>.getButtonCount
<sensor>.isButtonDown