I have a TextButton that I want to tween, and I tried setting the AnchorPoint but all it does is move the button.
Is there any way I can tween the button in only one direction?
I have a TextButton that I want to tween, and I tried setting the AnchorPoint but all it does is move the button.
Is there any way I can tween the button in only one direction?
Take a look at this, it explains it very well
https://developer.roblox.com/en-us/api-reference/function/GuiObject/TweenPosition
Edit: look at this too for general info on tweens Tween | Roblox Creator Documentation
Oh, I need to TweenSize the button in one direction, sorry.
It’s the same thing, you just use TweenSize instead of TweenPosition
Also, when tweening the size, make sure the AnchorPoint is set to 0.5,0.5 otherwise it won’t shrink to the centre