Positioning a Part

Positioning a Part

Jun 14 2019, 4:48 PM PST


You want to position a part at an origin point and resize it.


Use Vector3 values to alter the Position and Size properties.

local part = Instance.new('Part')
part.Parent = Workspace
part.Size = Vector3.new(100, 1, 100)
part.Position = Vector3.new(0, 0, 0)
part.Anchored = true


Here we create a new part and parent it to the Workspace. Next we change its size to be 100 as the length, 1 as the height, and 100 as the width. We also change its position to be at the origin and then anchor it.

  • parts
  • script
  • positioning