The API is no longer being updated here until further notice. |
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.