Set sprite properties
set_spriteUpdate a sprite's position, size, direction, visibility, and other attributes to control its appearance and behavior.
Instructions
Update one or more properties of a sprite (position, size, direction, visibility, …).
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": {
"name": "<name>"
},
"name": "set_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | Yes | ||
| size | No | ||
| volume | No | ||
| visible | No | ||
| direction | No | ||
| draggable | No | ||
| layerOrder | No | ||
| rotationStyle | No |