PolyK.InteractionData Class
Holds all information related to an Interaction event
Constructor
PolyK.InteractionData
()
Methods
getLocalPosition
(
Point
-
displayObject
This will return the local coords of the specified displayObject for this InteractionData
Parameters:
-
displayObject
DisplayObjectThe 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
originalEvent
Event
When passed to an event handler, this will be the original DOM Event that was captured
target
Sprite
The target Sprite that was interacted with