While doing a interaction system, i found a issue with the MouseLeave event when used on some button inside a billboard gui. When i use MouseEnter or MouseButton1Down it works perfectly, but when i use MouseLeave it don’t work.
I’ve already changed the script a lot, tried using InputBegan, tried the madattak mouse module, but nothing seems to work… any help will be appreciated
Here’s the part of my code that handle these events
Have you tried toggling the transparency property from 0 when the cursor enters the dimensions of the button to 1 when the cursor leaves the dimensions of the button?
Mostly unrelated, but I would highly recommend using ProximityPrompts with .Style set to ‘Custom’, not only is the prompt polling more efficient, but the events they expose will easily allow you to manipulate your custom gui: