isPlaying.lua 444 B

1234567891011121314151617181920212223
  1. return {
  2. tag = 'sourcePlayback',
  3. summary = 'Check if the Source is playing.',
  4. description = 'Returns whether or not the Source is playing.',
  5. arguments = {},
  6. returns = {
  7. playing = {
  8. type = 'boolean',
  9. description = 'Whether the Source is playing.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'playing' }
  16. }
  17. },
  18. related = {
  19. 'Source:play',
  20. 'Source:pause',
  21. 'Source:stop'
  22. }
  23. }