getDimensions.lua 511 B

12345678910111213141516171819202122
  1. return {
  2. summary = 'Get the dimensions of the BoxShape.',
  3. description = 'Returns the width, height, and depth of the BoxShape.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'width',
  8. type = 'number',
  9. description = 'The width of the box, in meters.'
  10. },
  11. {
  12. name = 'height',
  13. type = 'number',
  14. description = 'The height of the box, in meters.'
  15. },
  16. {
  17. name = 'depth',
  18. type = 'number',
  19. description = 'The depth of the box, in meters.'
  20. }
  21. }
  22. }