¿eh?
¿eh?
Out of context: Reply #1
- Started
- Last post
- 35 Responses
- rabattski0
depends a little on the function you want to pause e.g. is it a function with a while loop or is it a function which always loops (e.g. 2 frame function with a gotoAndPlay(1) etc)?
you can build in an extra variable. for example: pause=false and the while loop is only executed if the pause is false. an external action, let's say a button click sets the pause=true which pauses the function. after another action pause=false again which should make the function continue again.
lots of combinations though. it really depends on what you're building / what needs to be executed.