Disabling an input key in certain areas


Is there a way to have a keyboard input(Y) that is only usable when the player is within a certain area, and deactivated when the player is out of the bounds?


Yes, try using a boolean value between the input key and the action. Then have a collision box or sphere encapsulate the area you want the input to work in. When within the input bounds you can use the “on component overlap” node to enable the input by setting the boolean to true, when the player leaves the area use the “on component end overlap” node to set the boolean back to false and prevent input execution.