Registers a function to handle a mouse button being held down
<vizact>.whilemousedown( | |
button | |
func | |
args | |
) |
Method | Description |
<event>.setEnabled(val) | Enable/Disable the event function. The associated function will not be called while the event function is disabled. viz.TOGGLE can be used to toggle the state. Event functions are initially enabled. |
<event>.getEnabled() | Get the enabled state of the event function. |
<event>.remove() | Permanently unregister the event function. |