API Docs for: 1.0.0
Show:

InteractionData Class

Constructor

InteractionData

()

Item Index

Properties

Methods

getLocalPosition

(
  • displayObject
)
Point

This will return the local coords of the specified displayObject for this InteractionData

Parameters:

  • displayObject DisplayObject

    The DisplayObject that you would like the local coords off

Returns:

Point: A point containing the coords of the InteractionData position relative to the DisplayObject

Properties

global

Point

This point stores the global coords of where the touch/mouse event happened

target

Sprite

The target Sprite that was interacted with