Appearance
types.mouse_event
Event details for mouse input
Properties
| Name | Description |
|---|---|
position | type: vector2 The scaled mouse position |
button | type: number The SDL mouse button (1 = left, 2 = middle, 3 = right, 4+ = extra buttons; -1 for scroll) |
state | type: string The mouse interaction state ("click", "released", "scroll") |
scroll_x | type: number The scroll delta on X axis |
scroll_y | type: number The scroll delta on Y axis |
