openrndr / org.openrndr / Mouse

Mouse

class Mouse

Constructors

<init>

Mouse(application: Application)

Properties

application

val application: Application

buttonDown

val buttonDown: Event<MouseEvent>

buttonUp

val buttonUp: Event<MouseEvent>

clicked

val clicked: Event<MouseEvent>

cursorVisible

var cursorVisible: Boolean

dragged

val dragged: Event<MouseEvent>

moved

val moved: Event<MouseEvent>

position

var position: Vector2

The current mouse position

scrolled

val scrolled: Event<MouseEvent>