How to ripple effect?

Hey! I was looking on Show off your UI designs and I saw someone made a ripple effect. I liked it’s. Someone knows how to make ripple effect?

From what it looks like, they have a background with a higher z-index than the button, so just make an expanding circle gui where your mouse clicks and hook it up to TweenService and you should be good.

Hi, I think this is your lucky day! I recently found my old ripple back hidden in some folders, hopefully this helps a little in achieving your desired effect. I’m currently working on an improved version and I may make that open-source as well.

ripple_meex_dev.rbxm (7.1 KB) (Ignore the messy code, I was still learning luau when I made this).

Create a button, enable ClipDescendants. Insert a circle inside of this button and tween its size whenever you click on the button.

I don’t understand the code. :confused: