forked from LGDG/ExampleProject
10 lines
164 B
GDScript3
10 lines
164 B
GDScript3
|
@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
|