Issue Type: Other
Impact: High
Frequency: Constantly
Date First Experienced:
Date Last Experienced: 2021-05-17 00:05:00 (+01:00)
Reproduction Steps:
Reproduction File: BillboardGuiReproduction.rbxl (32.8 KB)
To reproduce:
- Create a BillboardGui with a Button in PlayerGui, Adornee this to any part in Workspace.
- In a LocalScript connect a function to the .MouseButton1Click event of the Button.
- In the function use the following code:
print(UserInputService:GetMouseLocation())
wait()
print(UserInputService:GetMouseLocation())
- Play the game, click on the button, don’t move your mouse, view the output.
Expected Behavior:
Any call to the UserInputService:GetMouseLocation() method should return the 2D mouse position on the user’s screen. In this implementation the results should be similar, if not exactly the same.
Actual Behavior:
The first result is the 2D position of the user’s mouse on the BillboardGui.
The second result is the 2D position of the user’s mouse on the Screen as intended.
Workaround: