CapsuleShape:getLength

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

length = CapsuleShape:getLength()

Arguments

None

Returns

NameTypeDescription
lengthnumberThe length of the capsule, in meters.

See also