How to make button like this?

how to make button like this when hover?

https://gyazo.com/9667cec0e0c812ad6232be3f563f7529

2 Likes
local ButtonGUI = script.Parent -- Or wherever your button is.

ButtonGUI.MouseEnter:Connect(function()
    ButtonGUI.Size = ButtonGUI.Size + UDim2.new(0, 5, 0, 5)
end)
ButtonGUI.MouseLeave:Connect(function()
    ButtonGUI.Size = ButtonGUI.Size - UDim2.new(0, 5, 0, 5)
end)
3 Likes

You can call a function when your mouse enters in the button using MouseEnter as @RepValor said.

1 Like