getPosition.lua 507 B

1234567891011121314151617181920212223242526
  1. return {
  2. summary = 'Get the Shape\'s position.',
  3. description = 'Get the position of the Shape relative to its Collider.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'x',
  8. type = 'number',
  9. description = 'The x offset.'
  10. },
  11. {
  12. name = 'y',
  13. type = 'number',
  14. description = 'The y offset.'
  15. },
  16. {
  17. name = 'z',
  18. type = 'number',
  19. description = 'The z offset.'
  20. }
  21. },
  22. related = {
  23. 'Shape:getOrientation',
  24. 'Shape:setOrientation'
  25. }
  26. }