Vizard 7 » Command Index » Vizard objects » sensor » <sensor>.getButtonCount
7.5

<sensor>.getButtonCount

Return the number of buttons on the sensor

<sensor>.getButtonCount()  

Remarks

This command will return the number of buttons provided by the sensor

Return Value

Button count

See also

<sensor>.getButtonState
<sensor>.isButtonDown