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