| Reference | Downloads | Github

How to come back to previous routine using code?

Is there any command to get back to previous routine? I know how to move forward, but not back. Any suggestions?

This is usually done with loops. Have a loop around both routines. At the end of the second, if you want to repeat the first, do nothing, it will run again automatically. If you don’t want to go back, then set your_loop_name.finished = True

May I ask how to achieve the same thing in an online experiment? How can I call removeLoop(loop)? I keep getting error messages. Thanks!!