Skip to main content

blockly > comments > RenderedWorkspaceComment > moveTo

comments.RenderedWorkspaceComment.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