{"action":"opened","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/4941","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/4941/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/4941/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/4941/events","html_url":"https://github.com/godotengine/godot/issues/4941","id":157568449,"number":4941,"title":"Unpause Game","user":{"login":"pitfritsch","id":19657304,"avatar_url":"https://avatars.githubusercontent.com/u/19657304?v=3","gravatar_id":"","url":"https://api.github.com/users/pitfritsch","html_url":"https://github.com/pitfritsch","followers_url":"https://api.github.com/users/pitfritsch/followers","following_url":"https://api.github.com/users/pitfritsch/following{/other_user}","gists_url":"https://api.github.com/users/pitfritsch/gists{/gist_id}","starred_url":"https://api.github.com/users/pitfritsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitfritsch/subscriptions","organizations_url":"https://api.github.com/users/pitfritsch/orgs","repos_url":"https://api.github.com/users/pitfritsch/repos","events_url":"https://api.github.com/users/pitfritsch/events{/privacy}","received_events_url":"https://api.github.com/users/pitfritsch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-31T00:11:21Z","updated_at":"2016-05-31T00:11:21Z","closed_at":null,"body":"I have an `if` to test if the game is paused or not, should unpause if paused, but I don't how to unpause, help\r\n\r\nHere is my code:\r\n\r\n> if(Input.is_key_pressed(KEY_ESCAPE)):\r\nif get_tree().is_paused() == false:\r\nget_tree().set_pause(true)\r\nelse:\r\nget_tree().set_pause(false)"}}
{"actor":{"display_login":"pitfritsch"}}