swim-horizontally
Swim horizontally to a target coordinate, using jump to stay above water and stopping when the target is reached or overshot.
Instructions
Swim horizontally toward a target position. Enables jump/swim-up and moves forward in a loop, stopping forward movement when target is reached or overshot. Keeps jump enabled at the end in case still in water.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| targetX | Yes | Target X coordinate | |
| targetY | Yes | Target Y coordinate | |
| targetZ | Yes | Target Z coordinate |