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