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

<sensor>.isButtonDown

Returns whether the specified button is currently down

<sensor>.isButtonDown(  
button  
)  
button
Button Id to check the state of

Remarks

This command will return whether the specified button Id is down.

Return Value

Boolean state

See also

<sensor>.getButtonCount
<sensor>.getButtonState