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:

ParameterTypeDescription
positionIPointDataThe point to convert.
point?P | undefinedOutput point.
skipUpdate?boolean | undefinedWhether to skip the update.

Returns: PThe global point.