I’ve made a Transport node in order to warp the player to a different zone in the same scene. This warps are between floors in a building. Visually there are stairs tiles. The Transport is an Area2D. One situation is that player appears relatively close to the returning stair. I want to stop input process for a while (1 second at max) in order to player doesn’t walk to the returning stair. I’ve tried with a global boolean active_controls and nesting all control actions in player node within an if statement that avoids any input being processed. But they keep being proceesed.
Could you share some code? One issue you may encounter is that you don’t handle inputs, but you also need to nullify any velocity/movement when setting your boolean to true. But it’s impossible to say without more context.
You can try setting the player node(s) that respond to input onto a specific “process mode”
There’s ways where you can “pause” certain nodes while others are not paused. In your case, you would try to only pause the player’s node(s) for 1 second and then unpause. Everything else continues like normal
That’s why there’s a area left node option.
There’s multiple options for the situation and the opposite concuring.
Make the area2d wait for the signal that the player left this area before turning the transport option on.
Boolean doesn’t mean options. Boolean means there’s only 2 options. On or Off.