Learn
Engine Class
CylinderMesh
Deprecated

Summary
Inherited Members
Code Samples
CylinderMesh Instantiation
local part = Instance.new("Part")
part.Position = Vector3.new(0, 2, 0)
part.Size = Vector3.new(10, 2, 5)
part.Anchored = true
local mesh = Instance.new("CylinderMesh")
mesh.Parent = part
mesh.Scale = Vector3.new(1, 1, 1)
mesh.Offset = Vector3.new(0, 0, 0)
local adornment = Instance.new("SelectionBox")
adornment.Adornee = part
adornment.Parent = part
part.Parent = workspace
©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.