Skip to content

DisplayObject.toGlobal method

DisplayObject › toGlobal

Unofficial

Converts a point to global (screen) coordinates.

Signature:

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

Parameters:

ParameterTypeDescription
positionIPointDataThe point to convert.
point?POutput point.
skipUpdate?booleanWhether to skip the update.

Returns: P — The global point.