Assistance Please

I need help with my game, Its a top-down space game and I am trying to figure out how to make it so that whenever I move the objects have a percent chance of emiting something and I know how to randomize it but not sure how to make it trigger whenever I move. Here is the link-https://flowlab.io/game/view/1528953 , you can find it in the user interface layer and its called “event-Somthing” and its invisible, I made it so that it surrounded the visible screen and i want it to spawn random stuff(if the percent triggers) or do nothing if the percent activates, I simply wish for it to allow me to do certain stuff when i move, can you give me a snipp or something explaining how?

3 Likes

You can use an extractor to test for movement. Whenever a movement is not zero, it will emit and lock the emitter. Whenever it is zero, it will unlock the emitter. (Lock as in switch.)

1 Like

Verry Useful, thank you.

1 Like

No problem, glad I could help!