blockly > FlyoutButton > moveTo
FlyoutButton.moveTo() method
Move the button to the given x, y coordinates.
Signature:
moveTo(x: number, y: number): void;
Parameters
Parameter | Type | Description |
---|---|---|
x | number | The new x coordinate. |
y | number | The new y coordinate. |
Returns:
void