scene-enable-arcade-physics-body
Add an Arcade physics body to specified game objects in a Phaser scene. Required before setting physics body properties.
Instructions
Adds an Arcade physics body to the given game objects. To set the physics body properties you first have to create the body with this tool.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sceneId": "<sceneId>",
"updates": "<updates>"
},
"name": "scene-enable-arcade-physics-body"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sceneId | Yes | The `id` of the scene. The `id` is not the name of the scene, else a unique identifier is set in the scene data. You need to read the scene data to get the `id`. | |
| updates | Yes |