Add MouseEnter and MouseLeave for BillboardGui

As a Roblox developer, it is entirely impossible and hard to tweek and make a Frame or whole BillboardGui appear/show UI elements inside of it whenever you’re hovering to see part numbers, mobs/humanoid stats and do some customization and practices for hovering with a BillboardGui.

In the past, MouseEnter / MouseLeave used to be a function for BillboardGui whenever the users’ mouse would enter or leave the area where the BillboardGui is stored and used in a certain situation like the paragraph above. However, I tried using this technique today and somehow didn’t work with the increase and decrease of Parent, I saw some earlier topics and videos of this being a thing and is useful for the case I’m using it with.

There are some workaround and solution for doing this with using ClickDetector for hovering which I’ve done but would be confusing with clicking and stuff.

I would love MouseEnter / MouseLeave to become a function again for BillboardGui and make it easier for us developers to have the ability to use this and available for open-world creations to be made from us developers, making a HealthUI BillboardGui whenever you hover over a humanoid…

^ If other UI Properties such as SurfaceGui and ScreenGui can use this function, then why can’t BillboardGui with this: Instance.MouseEnter, and Instance.MouseLeave.

If Roblox can add this into the Engine and some documentation of it, it would extremely affect my development experience because it can make it easier for BillboardGui / SurfaceGui for hovering from a mouse such as entering and leaving which can be used to many uses and would benefit my workflow(s) a lot!

3 Likes

If you place your 3D Gui in a StarterGui, set the Adornee and use a LocalScript, you can gain access to these events which will work correctly


I’m assuming this is because a server script doesn’t have your mouse 24/7, and the click events are the only events that replicate over the boundary

14 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.