I’m looking for a way to control the play and stop button next to the time code. I want to stop (time code) the whole play for a certain amount of time, or play again.
Hi @kijhome,
playback on the timeline can be controlled by calling the Time COMP’s class method: .play
.
In TouchDesigner you can have many timelines though, so to control the timeline of the network you are currently located in, use:
me.time.play = True # or False....
me.time
in most cases will refer to the main timeline yet in some cases might refer to another local time. To make sure to always contol the root time, use:
root.time.play = True # or False....
Hope this helps
Markus