blockly > Navigator > setNavigationLoops
Navigator.setNavigationLoops() method
Sets whether or not navigation should loop around when reaching the end of the workspace.
Signature:
setNavigationLoops(loops: boolean): void;
Parameters
Parameter | Type | Description |
|---|---|---|
loops | boolean | True if navigation should loop around, otherwise false. |
Returns:
void