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
Parameter | Type | Description |
---|---|---|
location | Coordinate | |
reason | string[] | undefined | (Optional) |
Returns:
void