can u scale gui objects based on screen size

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By shoodleydo

ive done some scripting in roblox and they allow you to scale gui objects based on screen size and im wondering if theres anything similar in godot

heres an example:
scaling in roblox vs godot - Album on Imgur (roblox vs godot in scaling gui)

in roblox i set the gui objects position to 0.5 and the size to 0.1
meaning it would be positioned at 50% of whatever the screen size is and sized at 10% of the screen size

it would be great if something like this is in godot since it automatically scales the gui objects to fit on any screen size

Thank you, exactly what i was looking for

shoodleydo | 2023-03-03 12:02