Just want to share this to newbies. Once you get the logic behind the following events, it'll help you with more complex toggle in the future:
It's just a simple PAUSE command when you press ESC:
<img src="http://i46.tinypic.com/bfp99d.jpg" border="0" />
You will find the original tutorial on toggling states here:
scirra.com/tutorials/158/veryvariable-toggle-between-two-states
Hope this helps alot for non-programmer noobs like me.