diff --git a/src/pixi/InteractionData.js b/src/pixi/InteractionData.js index fbc8636..326007c 100644 --- a/src/pixi/InteractionData.js +++ b/src/pixi/InteractionData.js @@ -41,6 +41,7 @@ * @method getLocalPosition * @param displayObject {DisplayObject} The DisplayObject that you would like the local coords off * @param [point] {Point} A Point object in which to store the value, optional (otherwise will create a new point) + * param [globalPos] {Point} A Point object containing your custom global coords, optional (otherwise will use the current global coords) * @return {Point} A point containing the coordinates of the InteractionData position relative to the DisplayObject */ PIXI.InteractionData.prototype.getLocalPosition = function(displayObject, point, globalPos)