Skip to main content

Home > blockly > comments > WorkspaceComment > moveTo

comments.WorkspaceComment.moveTo() method

Moves the comment to the given location in workspace coordinates.

Signature:

moveTo(location: Coordinate, reason?: string[] | undefined): void;

Parameters

ParameterTypeDescription
locationCoordinate
reasonstring[] | undefined(Optional)

Returns:

void