Skip to content

DisplayObject.toGlobal method

DisplayObject › toGlobal

Unofficial

Converts a point to global (screen) coordinates.

Signature:

toGlobal(position: IPointData, point?: P | undefined, skipUpdate?: boolean | undefined): P

Parameters:

Parameter Type Description
position IPointData The point to convert.
point? P | undefined Output point.
skipUpdate? boolean | undefined Whether to skip the update.

Returns: PThe global point.