How would I create this effect?

As a UI Designer, I commonly see this effect regarding UI.

I want to know how I can recreate it. Maybe it’s easy and I’m just stupid but please, I can’t figure anything out.

Gameplay: Nation Survival

MouseEnter and MouseLeave events, and TweenSize method

You need to use a ListLayout for the frames and MouseEnter and MouseLeave functions for detecting when the mouse enters and leaves, then tween the size of the button.

Here’s a quick gui I scripted replicating the one shown in the video:
buttontween.rbxm (8.3 KB)

1 Like

Thank you! Time you figure out how this works

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