me.Pointer()

new Pointer()

a pointer object, representing a single finger on a touch enabled device.

Extends

Members

static button :Number

the button property indicates which button was pressed on the mouse to trigger the event.

See:

static clientX :Number

the horizontal coordinate within the application's client area at which the event occurred

See:

static clientY :Number

the vertical coordinate within the application's client area at which the event occurred

See:

static event :PointerEvent|TouchEvent|MouseEvent

the originating Event Object

See:

static gameLocalX :Number

Event X coordinate relative to the holding container

static gameLocalY :Number

Event Y coordinate relative to the holding container

static gameScreenX :Number

Event X coordinate relative to the viewport

static gameScreenY :Number

Event Y coordinate relative to the viewport

static gameWorldX :Number

Event X coordinate relative to the map

static gameWorldY :Number

Event Y coordinate relative to the map

static gameX :Number

Event normalized X coordinate within the game canvas itself

static gameY :Number

Event normalized Y coordinate within the game canvas itself

static isPrimary :Boolean

indicates whether or not the pointer device that created the event is the primary pointer.

See:

static pageX :Number

the horizontal coordinate at which the event occurred, relative to the left edge of the entire document.

See:

static pageY :Number

the vertical coordinate at which the event occurred, relative to the left edge of the entire document.

See:

static pointerId :Number

The unique identifier of the contact for a touch, mouse or pen

See:

static type :String

a string containing the event's type.

See: