Vector2()SetOn this pageVector2.Set(number newX, number newY) Set x and y components of an existing Vector2. Parameters: NameTypeDescriptionnewXnumbernewXnewYnumbernewY Usage ---@type Vector2local vector2;---@type numberlocal newX;---@type numberlocal newY;vector2.Set(newX, newY)