MouseEnter triggers after MouseClick

Current behavior:

  • Entering a Gui Button class triggers .MouseEnter
  • Clicking Triggers .MouseButton1Down
  • Moving the mouse (still inside the button) will now again trigger .MouseEnter

Expected behavior:

  • Entering a Gui Button class triggers .MouseEnter
  • Clicking Triggers .MouseButton1Down
5 Likes

Is this a list of steps to follow or will moving the mouse (regardless of if you click or not) will continually fire MouseEnter?

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:

This is still an issue to this day. When will this be fixed?