How to set offset to TextureButton

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

Hello everyone!
Today I want make some eye-candy things.
But… TextureButton is not Sprite2D
Sprite2D can be setted offset in the center for example, but I cannot do this for TextureButton, or just not understand how to do this.
I need TextureButton offset in center for scalling.
So, how do this?
If it impossible - can you give guide for button on the Sprite2D base?

:bust_in_silhouette: Reply From: jgodfrey

In the inspector for your TextureButton, you can set the Transform | Pivot Offset values so they are each 1/2 of the button’s width and height. That’ll allow it to scale from the center…

Thank you again!

TheVorkMan_ | 2023-04-14 14:37