InteractionData Class
Holds all information related to an Interaction event
Constructor
InteractionData
()
Methods
getLocalPosition
(
Point
-
displayObject
-
[point]
This will return the local coordinates of the specified displayObject for this InteractionData
Parameters:
-
displayObject
DisplayObjectThe DisplayObject that you would like the local coords off
-
[point]
Point optionalA Point object in which to store the value, optional (otherwise will create a new point)
Returns:
Point:
A point containing the coordinates of the InteractionData position relative to the DisplayObject