This content has been marked as final. Show 4 replies
the best way to control when code executes is to put that code in a function body and call that function when you want the code to execute.
it would help so much if you could give an example at the first frame.
to call a function:
to call a function repeatedly every 100 ms:
And the first example he gave doesn't need to be stopped because it will only do what it was called to do once.
The second one will repeat every 100 ms and can be stopped whenever you want it to stop by doing: