Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | stubbsy345 | |
Old Version | Published before Godot 3 was released. |
I am trying to change the width of my patch9frame using script. To do this I have tried:
node.set_ region_ rect(Vector2(x, y), Vector2(300, 100))
I am loading a separate menu, but the labels in this are longer and so i need the patch9frame to be wider.
Thanks