Check out my example. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green" />
https://www.dropbox.com/s/qcbbliotl46i2 ... .capx?dl=0
Explanation
1. Every second, a sprite is being generated.
2. When the left mouse button is clicked on any of the sprites, the process stops.
3. When the right mouse button is clicked on any of the sprites, the process continues.
The same conditional procedure will occur when you create another sprite and arrange the button clicks on that sprite.
thanks I used your trik!