I am new to FlowLab, and I am trying to make a game. When the is on the door and hits “A”, the level shell restart (as long as I don’t have any other level added to the game). It also works fine, when the player is on the door and I press “A”, the game restarts. But here is the problem:
It does also restart when the player moves to the door but then moves away again and then presses “A”. I want it to listen for the A key when the player is on the door, only. And when he moves away, it shell stop. But no matter what I do, I don’t get it turn off the switch. Here’s an image of the behaviour of the door:
Thank you very much! I copied your behaviour settings, and it works great now! But there is only one question remaining: I would like the switch to be turned off also when the player the player is jumping. How do I do that? These are my behaviour settings right now: https://www.bilder-upload.eu/bild-250bfe-1584325105.png.html
Now you need to know info that the player has, like when it collides with the ground.
You can tell the door by messaging it, you could also add the jump button to the door.