| Parameter | Description |
|---|---|
| shapes | The shapes to set the selected drawing state on. |
| selected | The selected drawing state to set on every shape. |
Set the selected drawing state on a batch of shapes.
The shapes can belong to different worlds; the world of each shape is locked only when it changes across the batch, so shapes should be ordered by world for the fewest locks. Any invalid shape in the batch is ignored. See PhysicsShape.selectedDrawing for what the state controls.