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