setTranslations
Sets the player's translation axes.
Syntax
player.setTranslations(x, y, z);
Parameters
Name | Type | Description |
---|---|---|
x | boolean | Whether or not to enable the X translation axis. |
y | boolean | Whether or not to enable the Y translation axis. |
z | boolean | Whether or not to enable the Z translation axis. |
Example
//
player.setTranslations(false, false, false);
Available on: Client Server