blockly > Field > getAbsoluteXY_

Field.getAbsoluteXY_() method

Return the absolute coordinates of the top-left corner of this field. The origin (0,0) is the top-left corner of the page body.

Signature:

protected getAbsoluteXY_(): Coordinate;

Returns:

Coordinate

Object with .x and .y properties.