Hi all, while developing I came across an issue while testing - my billboard guis were’t registering any mouse events. Even though I have them in PlayerGui and adorned to a part.
To demonstrate the issue I made a quick roblox place with a single part and a BillboardGui with a localscript in StarterGui. The localscript adorns the billboard gui to the part in workspace and sets up an event for mouse events.
repeat wait() until game.Workspace:FindFirstChild("Part")
script.Parent.Adornee = game.Workspace.Part
script.Parent.TextButton.MouseButton1Click:Connect(function ()
print("Mouse clicked")
end)
script.Parent.TextButton.MouseEnter:Connect(function ()
print("Mouse enter")
end)
Nothing comes up in console when clicking and putting the mouse over the text button. Here’s the file where I have this setup:
billboard gui click problem.rbxl (18.0 KB)
Your help is greatly appreciated!