Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IButtonMouseInput

Extends the base input to include button specific data.

Hierarchy

Index

Properties

Properties

button

button: number

Buttons additionally will report which button was used to trigger this event.

See MouseEvent.button for more information.

Optional controlID

controlID: string

The controlId this input event relates to.

event

event: "mousedown" | "mouseup"

Buttons can emit the mousedown(depressed) or mouseup(released) event.

Generated using TypeDoc