DisplayObject.toLocal method
DisplayObject › toLocal
Unofficial
Converts a point to local coordinates.Signature:
toLocal(position: IPointData, from?: DisplayObject, point?: P, skipUpdate?: boolean): PParameters:
| Parameter | Type | Description |
|---|---|---|
| position | IPointData | The point to convert. |
| from? | DisplayObject | The display object to convert from. |
| point? | P | Output point. |
| skipUpdate? | boolean | Whether to skip the update. |
Returns: P — The local point.