Hi, I have found a bug while trying to create a behavior when a user hovers over a BillboardGui. using BasePlayerGui:GetGuiObjectsAtPosition().
It seems as if BillboardGuis are included in the results of this function in either of two cases:
- The position is actually over where the Gui is rendering in the viewport
- The position is hovering where the Gui would render if it were being rendered in a ScreenGui, given its AbsolutePosition/AbsoluteSize values are relative to the Billboard.
Here is a quick demo, along with the place file.
billboard_guiobjectsatposition_bug_demo.rbxl (60.9 KB)
Expected behavior
For the GetGuiObjectsAtPosition() method to behave as expected, the demo would only turn the BillboardGui green if the label within it was hovered, and not the area designated at the top left was hovered.