Vizard 8 » Command Index » Vizard objects » sensor » <sensor>.isButtonDown
8.1

<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