Try using the Wait Until block with a variable named Run.
[blocks]
<when green flag clicked>
<set{ Run }to( Yes
<forever>
<wait until><( <{ Run }> <=> Yes )>
<next costume>
<wait( .2 )secsc>
<end>
[/blocks]
And then have another sprite set up as a button to change the value of the Run variable
[blocks]
<when[ Pause Button ]clicked>
<if> <( <{ Run }> <=> Yes )>
<set{ Run }to( No
<else>
<set{ Run }to( Yes
<end>
[/blocks]
Offline
Paddle2See wrote:
Try using the Wait Until block with a variable named Run.
[blocks]
<when green flag clicked>
<set{ Run }to( Yes
<forever>
<wait until><( <{ Run }> <=> Yes )>
<next costume>
<wait( .2 )secsc>
<end>
[/blocks]
And then have another sprite set up as a button to change the value of the Run variable
[blocks]
<when[ Pause Button ]clicked>
<if> <( <{ Run }> <=> Yes )>
<set{ Run }to( No
<else>
<set{ Run }to( Yes
<end>
[/blocks]
Thanks Paddle2Se
Offline