Show:

ia.MouseEvent Class

Extends ia.Event
Module: ia

An ia.MouseEvent object.

Constructor

ia.MouseEvent

(
  • evt
  • eventType
  • mouseX
  • mouseY
  • obj
)

Parameters:

  • evt Object

    A mouse event.

  • eventType String

    The event type.

  • mouseX Number

    The x coordinate of the mouse.

  • mouseY Number

    The y coordinate of the mouse.

  • obj Object

    The object associated with the event.

Item Index

Properties

ctrlKey

Boolean

Is the ctrl key pressed.

delta

Number

Wheel delta.

eventType

String

The type of event.

obj

Object

The object associated with the event.

shiftKey

Boolean

Is the shift key pressed.

x

Number

The x coord.

y

Number

The y coord.