isEnabled.lua 391 B

123456789101112131415161718
  1. return {
  2. summary = 'Check if the Shape is enabled.',
  3. description = 'Returns whether the Shape is enabled.',
  4. arguments = {},
  5. returns = {
  6. enabled = {
  7. type = 'boolean',
  8. description = 'Whether the Shape is enabled.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'enabled' }
  15. }
  16. },
  17. notes = 'Disabled shapes won\'t collide with anything.'
  18. }