CapsuleShape:getLength

Edit

Returns the length of the CapsuleShape, not including the caps.

length = CapsuleShape:getLength()

Arguments

None

Returns

NameTypeDescription
lengthnumber The length of the capsule, in meters.

See also