unpack.lua 377 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Get the components of the vector.',
  3. description = 'Returns the 2 components of the vector as numbers.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'x',
  8. type = 'number',
  9. description = 'The x value.'
  10. },
  11. {
  12. name = 'y',
  13. type = 'number',
  14. description = 'The y value.'
  15. }
  16. },
  17. related = {
  18. 'Vec2:set'
  19. }
  20. }