I made a simple fps counter the problem is that if I switch scenes the fps counter disappears.
var FPS_Counter = false
func _on_CheckButton2_pressed():
if FPS_Counter == false:
FPS_Counter = true
else:
FPS_Counter = false
func _process(delta):
if FPS_Counter == true:
$FPS.text = str(Engine.get_frames_per_second())
else:
$FPS.text = str("")
Any Idea on how to transfer the Label to another scene?