Skip to main content

Home > blockly > FlyoutButton > moveTo

FlyoutButton.moveTo() method

Move the button to the given x, y coordinates.

Signature:

moveTo(x: number, y: number): void;

Parameters

ParameterTypeDescription
xnumberThe new x coordinate.
ynumberThe new y coordinate.

Returns:

void