How Can I Create A UI Effect Like This?

So, I was looking through a post in #help-and-feedback:cool-creations and I saw this awesome UI:

I was wondering, how can I create an effect like this?

Thanks :smiley:

3 Likes

You can use a MouseEnter event, to detect when a mouse enters the buttonโ€™s area.
Like:

script.Parent.MouseEnter:Connect(function()                                                                                                                         
  -- Code here
end)
1 Like

But then how would I use tweens to fill the colour in? Is there anyway to only fill the frame and not go outside of it?

1 Like

Found it out! Just had to use ClipDecendents.

But you could easily do that with MouseEnter and MouseLeave function and also tweening it.

2 Likes