If I paused the game is there way to unlock/unpause like the key is always ready be pressed? like like

if I paused the game is there way to unlock/unpause like the key is always ready be pressed? like like

When you pause the game, you effectively set a Node’s process_mode and all its children in paused.
For you to be able to process a key to unlock/unpause, you need to have a node whose process_mode is set to always. That way, the process of the node will always run even when paused.
grafik

For example, you have a SceneTree that has your level in one node and another node for your UI.
When you pause the game, you only affect the level-node while the UI node is still allowed to process.

1 Like