UIHANDLER OnMouseWheel
Jump to navigation
Jump to search
Invoked when the mouse wheel is scrolled while hovering over a widget.
ScriptRegion OnMouseWheel(self, delta)
Arguments
- self
- ScriptObject - The widget receiving the mouse input
- delta
- number : Indicates the direction the wheel is spinning
1
for spinning up-1
for spinning down
Details
- If a widget does not have an OnMouseWheel handler, the event is passed on to underlying frames.