Home > blockly > Block > moveInputBefore
Block.moveInputBefore() method
Move a named input to a different location on this block.
Signature:
moveInputBefore(name: string, refName: string | null): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| name | string | The name of the input to move. |
| refName | string | null | Name of input that should be after the moved input, or null to be the input at the end. |
Returns:
void