Move the local character
character_controlMoves the local player's character to a world position, another player, or an instance path by teleporting instantly or walking with an arrival timeout and optional vertical offset.
Instructions
Move the local player's character. action teleport puts it at the target at once; action walk_to makes it walk there with the humanoid (it stops when it arrives, gets stuck or the timeout passes). The target is one of: position ({x,y,z}), player (another player's name, display name or user id) or path (a dotted path to a part or model). Near a player or instance the character lands offset_y studs above it (default 3). Teleporting can trigger anti-cheat in some games, so only do it when the user asked. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Go to this part or model (dotted path starting at game). | |
| action | Yes | teleport or walk_to. | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| player | No | Go to this other player. | |
| timeout | No | walk_to: seconds to wait for the character to arrive (default 10). | |
| offset_y | No | Studs above the player or instance (default 3). | |
| position | No | World position to go to. |