setPosition
Set the position of the object.
Syntax
object.setPosition(position);
Parameters
Name | Type | Description |
---|---|---|
position | Vector3 or Vector3Array | The new position |
Example
object.setPosition([0, 5, 0]);
Available on: Client Server
Set the position of the object.
object.setPosition(position);
Name | Type | Description |
---|---|---|
position | Vector3 or Vector3Array | The new position |
object.setPosition([0, 5, 0]);
Available on: Client Server