What are better alternatives for MouseEnter and MouseLeave?

For the longest time, I’ve found these functions very unreliable that I wish there was a better way to handle GUIs that have a hover effect. What exactly is a good solution for this? I’ve heard that you can you step bind in combination of the functions, but I’m not sure how I would go about.

GUI_button.MouseEnter:Connect(function()
--code
end)

GUI_button.MouseLeave:Connect(function()
--code
end)

I heard that in 2018 the staff were saying how they wanted to refine these functions more, but I haven’t seen any improvements since. How can I go about it?

This module and this detection system seem to be some good alternatives, although they have their faults as well.

1 Like