# Debug commands of @ferret/crowd

Call with `world.commands.execute(name, args)`; `world.commands.list()` on the running game is the authority. Read from the sources of these packages.

- `crowd.list` — agents: id, model, clip, rate, position, rung
- `crowd.play` — switch the clip of an agent: {entity, clip, rate?}
- `crowd.spawn` — an agent of a prepared model: {model, position: [x, y, z], heading?, clip?, phase?, rate?, tint?, wander?}
- `crowd.stats` — agents, agents per rung, per model: agents, vertex-animation instances, full instances in use/pool
