I am trying to make a UI hover effect, however the object is not reacting to the mouse leaving the object when I move my mouse faster.
Script:
local module = require(script.Parent)
local main = script.Parent.Parent
main.MouseEnter:Connect(function()
module:HoverStart()
end)
main.MouseLeave:Connect(function()
module:HoverEnd()
end)
Add prints and verify that mouseleave truly does not run. I suspect that the issue is that your mouse is exiting before the animation bringing the card up is finished, thus cancelling out any attempts to bring it back down.