using Godot; public partial class PauseMenuContinueButton : Button { public void _on_button_up() { AudioStreamPlayer MusicPlayer = GetNode("/root/Game/MusicPlayer"); MusicPlayer.StreamPaused = !MusicPlayer.StreamPaused; Globals.IsPaused = false; GetNode("../..").QueueFree(); if (Utils.IsMobile()) GetNode("/root/Game/CanvasLayer/MobileButtons").Visible = true; } }