Instead of overriding default "up", "down", "left" and "right" keys you can define a context for the bindings that only triggers when the "game" is running.
There are several ways but the easiest would be to use an event listener, implement on_query_context() and use the defining key in the key bindings.
Instead of overriding default "up", "down", "left" and "right" keys you can define a context for the bindings that only triggers when the "game" is running. There are several ways but the easiest would be to use an event listener, implement
on_query_context()
and use the defining key in the key bindings.Docs