Keyboard input work in editor while I run games

Godot Version

V4.3 stable

Question

I’m new at GOdot and I have a issue with the keyboard control on game.
I’ve start to dev a game and I setup all the key in the Project settings and also in the code. But when I lauch a game, all the keyboard key work fine but on the editor behind even though I have the game lauch in front. I tried to click on it, minimize the editor, … but nothing work. It isn’t work only with the keyboard key, because with mouse’s buttons it’s work well.

the function for change direction but not walk :

the settings for the action ( teh mouse button is for the test. and it work) :

Thanks !

1 Like