physics_configure
Inspect or set 2D physics on a Group/Bone layer, including gravity, rigid-body options, and baking. Reads full state when no mutating fields are passed.
Instructions
Inspect or configure Moho Pro 14 2D Physics on a Group/Bone layer (groupEnabled, gravity, useBakedPhysics, bake) and/or per-layer rigid-body MohoPhysicsOptions (read-only when no mutating fields are passed; returns full state including pivotOnOrigin, respawnInterval, and lifetime).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "physics_configure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bake | No | Step startFrame..endFrame to evaluate physics and lock UseBakedPhysics(true) | |
| frame | No | ||
| density | No | ||
| enabled | No | Per-layer physics participation | |
| gravity | No | ||
| layerId | No | Numeric depth-first layer ID (from layer_list) | |
| endFrame | No | Last frame to evaluate when bake=true | |
| friction | No | ||
| lifetime | No | Alias for respawnInterval (MohoPhysicsOptions.fRespawnInterval) | |
| sleeping | No | ||
| layerName | No | Exact layer name | |
| layerUuid | No | Layer UUID | |
| motorSpeed | No | ||
| startFrame | No | First frame to evaluate when bake=true | |
| staticBody | No | ||
| enableMotor | No | ||
| forceObject | No | ||
| forceVector | No | ||
| motorTorque | No | ||
| restitution | No | ||
| groupEnabled | No | Enable/disable 2D physics simulation on Group/Bone layer | |
| pivotOnOrigin | No | ||
| initialVelocity | No | ||
| respawnInterval | No | MohoPhysicsOptions.fRespawnInterval in frames (0 = no respawn) | |
| useBakedPhysics | No |