setEnabled.lua 387 B

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