blockly > WorkspaceSvg > isMovable
WorkspaceSvg.isMovable() method
Is this workspace movable?
This means the user can reposition the X Y coordinates of the workspace through input. This can be through scrollbars, scroll wheel, dragging, or through zooming with the scroll wheel or pinch (since the zoom is centered on the mouse position). This does not include zooming with the zoom controls since the X Y coordinates are decided programmatically.
Signature:
isMovable(): boolean;
Returns:
boolean
True if the workspace is movable, false otherwise.