Skip to content

ButtonDevice class ​

No description available

Functions ​

mnscript
number ButtonDevice.GetKeyNumber() 
mnscript
string ButtonDevice.GetName() 
  • Gets the name of the device
mnscript
bool ButtonDevice.IsPressed() 
  • Gets whether the button is pressed down
mnscript
bool ButtonDevice.IsToggle() 
  • Gets whether the button is in toggle mode
mnscript
bool ButtonDevice.IsValid() 
  • Returns whether the button is valid
mnscript
ButtonDevice.SetKeyNumber(number)