Hi,
Is there a way to stop and start all clips of the main timeline? While avoiding clip1.stop(); clip2.stop(); etc.
Thank you.
To can do play() or start()
So, what you can do is:
# Get all clips in the current frame.
# Then, get Clips/Buttons in it. (array)
# Now, for each clip, stop it!
project.activeFrame.clips.forEach( (clip) => { clip.stop(); })
If you’re editing code inside of a clip, then use
project.stop() //and project.play() or
project.YourClipHere.stop(), vice versa.
1 Like
You don’t need to have project in front of it
1 Like