Skip to main content

Vector3.Set(number newX, number newY, number newZ)

Set x, y and z components of an existing Vector3.

Parameters:

NameTypeDescription
newXnumbernew X
newYnumbernew Y
newZnumbernew Z

Usage

---@type Vector3
local vector3;

---@type number
local newX;

---@type number
local newY;

---@type number
local newZ;


vector3.Set(newX, newY, newZ)