MouseEnter firing both on hover and on click

The MouseEnter event is firing both when you hover a GuiObject (normal) and when clicking the GuiObject (the bug).

Steps to reproduce:

  • Insert any GuiObject (Frame, TextLabel, etc.)
  • Connect to the MouseEnter event
  • Hover the GuiObject
  • Click
  • Move mouse

This will lead to the connection firing twice.

I’ve noticed that the event firing again happens when you move the mouse after clicking. The click itself is not what causes the event to fire, but rather the cursor is no longer recognized as still hovering the GuiObject.

This happens consistently on my end, and I’ve also attached a quick repro place to make things a bit easier.

mouse-enter-repro.rbxl (20.7 KB)

7 Likes