Skip to main content

blockly > FlyoutSeparator > moveBy

FlyoutSeparator.moveBy() method

Repositions this separator.

Signature:

moveBy(dx: number, dy: number, _reason?: string[]): void;

Parameters

Parameter

Type

Description

dx

number

The distance to move this separator on the X axis.

dy

number

The distance to move this separator on the Y axis.

_reason

string[]

(Optional) The reason this move was initiated.

Returns:

void