ApplicationMouse

class ApplicationMouse(application: () -> Application) : MouseEvents(source)

Mouse events

Constructors

Link copied to clipboard
constructor(application: () -> Application)

Properties

Link copied to clipboard
open override val buttonDown: Event<MouseEvent>

mouse button down event

Link copied to clipboard
open override val buttonUp: Event<MouseEvent>

mouse button up event

Link copied to clipboard
Link copied to clipboard

specifies the active cursor type, default is CursorType.ARROW_CURSOR

Link copied to clipboard

specifies if cursor should be visible

Link copied to clipboard
open override val dragged: Event<MouseEvent>

mouse dragged event

Link copied to clipboard
open override val entered: Event<MouseEvent>

mouse entered event

Link copied to clipboard
open override val exited: Event<MouseEvent>

mouse exited event

Link copied to clipboard
open override val moved: Event<MouseEvent>

mouse moved event

Link copied to clipboard
open override var position: Vector2

The current mouse position

Link copied to clipboard
open override val scrolled: Event<MouseEvent>

mouse scroll wheel event