MouseTracker

class MouseTracker(mouseEvents: MouseEvents)(source)

Keeps track of which mouse buttons are currently pressed. Usage: val mt = MouseTracker(mouse), then read mt.pressedButtons. Replaces MouseEvents.pressedButtons.

Constructors

Link copied to clipboard
constructor(mouseEvents: MouseEvents)

Properties

Link copied to clipboard

set containing the names of the currently pressed buttons