Button Shrink And Grow In Same Place

I feel like the name is pretty self explanatory. Right now, I am trying to make a tween that will shrink and grow a button when clicked. Right now it will shrink and grow properly but it is not staying in the same place. For example, when I press the button; it will shrink and grow but it will seem to change position and go up on the y and left on the x. Please help me or let me know if you have a solution to this;

Here is a capture of what is happening:

robloxapp-20211113-1230012.wmv (380.4 KB)

I apologize for you having to download the video in order too see it. I do not have any other methods.

Hi! I didn’t check the video but I think the issue can be fixed by setting the button AnchorPoint property to (0.5, 0.5). (Also if you want it to align to the center of the user screen set Position to (0.5, 0, 0.5, 0).

As of currently I have this applied. But I however figured it out. I created a decoy and changed its size to the smaller version, put it in the center and then got its position. Thank you however.

1 Like