1
0
Fork 0
ExampleProject/RetroWindowsGUI/RetroWindow.gd

10 lines
164 B
GDScript
Executable File

@tool
extends Control
func _process(_delta):
var par = get_parent()
if par.size.x < size.x:
par.size.x = size.x
if par.size.y < size.y:
par.size.y = size.y