getColliders.lua 555 B

123456789101112131415161718192021222324252627
  1. return {
  2. tag = 'colliders',
  3. summary = 'Get a table of all Colliders in the World.',
  4. description = 'Returns a table of all Colliders in the World.',
  5. arguments = {
  6. t = {
  7. type = 'table',
  8. description = 'A table to fill with Colliders and return.'
  9. }
  10. },
  11. returns = {
  12. colliders = {
  13. type = 'table',
  14. description = 'A table of `Collider` objects.'
  15. }
  16. },
  17. variants = {
  18. {
  19. arguments = {},
  20. returns = { 'colliders' }
  21. },
  22. {
  23. arguments = { 't' },
  24. returns = { 'colliders' }
  25. }
  26. }
  27. }