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