Need help tweening UI

I need help tweening UI buttons.

I have 3 ui buttons next to each other, and I want it so when the mouse hovers over it, the other move slightly away (you can find this feature in some popular simulator games.)

Is there any efficient way aside from tweening every single thing? (I.E, button size up, and each other button’s move)

You can have the buttons inside a separate container frame that has a UIListLayout. You can attach a .MouseEnter & .MouseLeave function which will tween the size and the layout will automatically adjust the positions of all the other buttons.

MouseEnter Documentation
UIListLayout Documentation

1 Like

Tyvm, I’ll check that out!
word limit

2 Likes

So from what I’ve done, currently it feels like the button is scaling from one side and only one of the 2 buttons is moving away. edit: sorry, just changed a setting and its good.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.