extends CanvasLayer # Called when the node enters the scene tree for the first time. func _ready(): pass # Called every frame. 'delta' is the elapsed time since the previous frame. func _process(delta): pass func _on_viewport_size_changed(): # Do whatever you need to do when the window changes! print ("Viewport size changed")