I've been trying to simplify and optimise my old code, and one way that I did this was to make a "buttons" sprite family and making one event in a universal event sheet that sets "buttons" scale to 1.1 if the cursor is over it, and sets its scale to normal if it isn't, just for a bit of polish.
The problem is that if you quickly move your mouse from one button to another, both will stay at scale 1.1 until you stop hovering over either. How do I prevent this without manually copying the code for every single button sprite?