getCollider.lua 450 B

123456789101112131415161718
  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. {
  7. name = 'collider',
  8. type = 'Collider',
  9. description = 'The Collider the Shape is attached to.'
  10. }
  11. },
  12. notes = 'A Shape can only be attached to one Collider at a time.',
  13. related = {
  14. 'Collider',
  15. 'Collider:addShape',
  16. 'Collider:removeShape'
  17. }
  18. }