How to detect not collision?

corbanwolf

  • Posts: 223
I want something to happen when player collides with one sensor. But right after they stop colliding, I want to happen something else. How to do that?
♪♪♪♪♪♪

Vaibhav Sangwan

  • Posts: 161
Make an boolean attribute for your sensor actor in its events and set it true in when created event.
Then, make a collision event for checking the collision of player with sensor.
And then add an
if (boolean attribute)
set boolean attribute to false


do whatever you want her...

Currently working on:-
http://www.stencyl.com/game/play/42376
Feedback will be really appreciated