Skip to main content

Home > blockly > Field > onLocationChange

Field.onLocationChange() method

Notifies the field that it has changed locations.

Signature:

onLocationChange(_: Coordinate): void;

Parameters

ParameterTypeDescription
_CoordinateThe location of this field's block's top-start corner in workspace coordinates.

Returns:

void