Fandom

ROBLOX Wikia

Vector3

12,801pages on
this wiki
Add New Page
Comments0 Share

An object for storing a 3D vector. Includes x, y, and z components, used for multiple properties.

A Vector3 is constructed using the Vector3.new() function:

myposition = Vector3.new(x,y,z) --whereas x, y and z are the arguments for the function
Vector3

 Lua Object

Constructors Vector3.new(x,y,z)
Fields x, y, z, magnitude,unit

External links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.