Skip to main content

blockly > comments > RenderedWorkspaceComment > moveBy

comments.RenderedWorkspaceComment.moveBy() method

Move the comment by the given amounts in workspace coordinates.

Signature:

moveBy(dx: number, dy: number, reason?: string[] | undefined): void;

Parameters

Parameter

Type

Description

dx

number

dy

number

reason

string[] | undefined

(Optional)

Returns:

void