PartType

PartType defines the geometric shape of a Part. Each type has different collision properties and visual appearance.

Items

Examples

local part = Instance.new("Part")
part.Shape = Enum.PartType.Ball

-- Check part type
if part.Shape == Enum.PartType.Block then
print("This is a block")
end