getLength.lua 368 B

1234567891011121314151617
  1. return {
  2. summary = 'Get the length of the CapsuleShape.',
  3. description = 'Returns the length of the CapsuleShape, not including the caps.',
  4. arguments = {},
  5. returns = {
  6. length = {
  7. type = 'number',
  8. description = 'The length of the capsule, in meters.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'length' }
  15. }
  16. }
  17. }