I fixed the problem where the box didn't disappear even if you moved the mouse away. I also fixed where the box disappeared too slowly so it still kind of showed if you moved your mouse away, so i just changed the speed. Explanation: The code was set so it disappeared when the box stopped touching the cat, not when the mouse did. So i made a variable saying if the mouse was touching the cat or not, so instead of asking if the box was touching the cat, i put it to check if the variable that said if the mouse was touching the cat was true, and appears, but when that variable becomes false, it disappears.