[readonly] duration : number How long the button has been held down for in milliseconds.
destroy() Destroys this DeviceButton, this disposes of the onDown, onUp and onFloat signalsand clears the parent and game references
Page 3 of 3