setLooping.lua 454 B

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