getDimensions.lua 570 B

12345678910111213141516171819202122232425
  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. width = {
  7. type = 'number',
  8. description = 'The width of the box, in meters.'
  9. },
  10. height = {
  11. type = 'number',
  12. description = 'The height of the box, in meters.'
  13. },
  14. depth = {
  15. type = 'number',
  16. description = 'The depth of the box, in meters.'
  17. }
  18. },
  19. variants = {
  20. {
  21. arguments = {},
  22. returns = { 'width', 'height', 'depth' }
  23. }
  24. }
  25. }