Fandom

ROBLOX Wikia

Origin

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

Origin (3D)

The origin is the notional (0,0,0) point in the center of the workspace. A vector at the origin can be created with Vector3.new(). The origin is also the CFrame at (0,0,0), usually with a front facing vector of (0,0,1) and a top facing vector of (0,1,0). CFrame.new() will yield this location.

GUI Origin (UDim2)

GUIs have the origin of UDim2.new(0,0,0,0), where the size and positions have scales and offsets of 0 on both axes. This origin is located in the top left corner of the parent element.

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.