set_velocity
Sets the player's velocity to the specified x, y, z components.
Categories: movement
Required arguments
| Key(s) | Description | Type |
|---|---|---|
x | The X component of the velocity vector. Supports expressions. | EXPRESSION |
y | The Y component of the velocity vector. Supports expressions. | EXPRESSION |
z | The Z component of the velocity vector. Supports expressions. | EXPRESSION |
Trigger parameters required
PLAYER
Example
effects:
- id: set_velocity
args:
x: 0
y: 1.5
z: 0
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |