How do I make my GUI Buttons Pulsate?

Hello! I’m trying to make my ui buttons pulsate when you hover over them. What I mean is that when your mouse hovers over them, they grow a little large in size and when your mouse leaves the area, they shrink back. I know I could change the size but the games I’ve seen done this have it for it almost tweens into a larger size, rather then suddenly change to a bigger size. I don’t know how to achieve this effect though so any help would be great! (not sure if I should have posted this to game development or here)

1 Like

you can use button.MouseEnter:Connect(Function() and button.MouseLeave:Connect(Function()

There is a whole roblox wiki article on this https://developer.roblox.com/en-us/articles/GUI-Animations.

2 Likes

TweenSizeAndPosition + function.MouseEnter:Connect(function() end)

1 Like