setLooping.lua 361 B

12345678910111213
  1. return {
  2. summary = 'Set whether or not the Source loops.',
  3. description = 'Sets whether or not the Source loops.',
  4. arguments = {
  5. {
  6. name = 'loop',
  7. type = 'boolean',
  8. description = 'Whether or not the Source will loop.'
  9. }
  10. },
  11. returns = {},
  12. notes = 'Attempting to loop a Source backed by a stream `Sound` will cause an error.'
  13. }