Guys i start to feel stupid. I add "touch" and "bullet" behaviors to a sprite. All i want to make it stop/move on each tap action.
I tried to compare "m" variable and assign bullet speed according to m variables value. for example
m=0 bul.speed=0
M=1 bul.spped=100
Then i compare value of m and add extra consition "on tap" to change value of m from 0 to 1 or vice versa.
When i run it, bullet object stops on tap gesture without problem. However on next tab its not moving.
I am in a cafe so cant add capx but will try to take photo of small example and add here if i can.