Skip to main content

Home > blockly > FlyoutSeparator > moveBy

FlyoutSeparator.moveBy() method

Repositions this separator.

Signature:

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

Parameters

ParameterTypeDescription
dxnumberThe distance to move this separator on the X axis.
dynumberThe distance to move this separator on the Y axis.
_reasonstring[](Optional) The reason this move was initiated.

Returns:

void