getCollider.lua 521 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Get the Collider the Shape is attached to.',
  3. description = 'Returns the Collider the Shape is attached to.',
  4. arguments = {},
  5. returns = {
  6. collider = {
  7. type = 'Collider',
  8. description = 'The Collider the Shape is attached to.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'collider' }
  15. }
  16. },
  17. notes = 'A Shape can only be attached to one Collider at a time.',
  18. related = {
  19. 'Collider',
  20. 'Collider:addShape',
  21. 'Collider:removeShape'
  22. }
  23. }