MouseEvent
class MouseEvent(val eventType: EventType<MouseEvent>, scene: Scene, sceneX: Float, sceneY: Float, val buttonIndex: Int, val clickCount: Int, mods: Int) : MouseEventBase
Used for event types EventType.MOUSE_PRESSED, EventType.MOUSE_RELEASED, EventType.MOUSE_CLICKED, EventType.MOUSE_MOVED, EventType.MOUSE_EXITED, EventType.MOUSE_ENTERED and EventType.MOUSE_DRAGGED.
Properties
Functions
Link copied to clipboard
Use within EventType.MOUSE_PRESSED events only to indicate that this node wants to recieve EventType.MOUSE_DRAGGED events until the mouse button is released. If called on other event types, it will be ignored.
Link copied to clipboard
On Windows, a popup trigger is when the secondary mouse button is PRESSED, and on all other platforms, it is when the secondary mouse button is RELEASED.