Is this a list of steps to follow or will moving the mouse (regardless of if you click or not) will continually fire MouseEnter?
ScriptOn
(Genya)
October 12, 2016, 8:27pm
#3
Exact repro steps. Moving the mouse just one pixel after clicking fires .MouseEnter again. If you move it any more (within the Button) it won’t fire again.
2 Likes
Can confirm, it was reported a few years ago here:
I’m not even completely sure this is a bug, but it is VERY annoying. If you have a GUI, for example, a button. If you use .Entered on the GUI, it will fire after you click the GUI and move your mouse, even if your mouse hasn’t left the GUI area.
This bug happens every time.
You can reproduce it very easily. Just insert a TextButton, and the following code in a localscript:
PATH TO THE BUTTON.MouseEnter:connect(function()
print(“Mouse has entered”)
end)
And click the GUI then move the mouse…