Move
moveReposition the player in a specified direction for a short duration, rotating to face that way to align the next shot.
Instructions
Move in one direction for a short duration. The player steps ~10px roughly every 20ms while the key is held and rotates to face that direction, which is also the direction shoot() will fire in.
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": {
"direction": "<direction>"
},
"name": "move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| holdMs | No | How long to hold the direction, in milliseconds. Default 150. | |
| direction | Yes |