is there anyway to check if a players mouse is touching a brick? I don't mean like clicking a brick, I mean like a mouse that is within the bricks pixel positions on the players screen. sorry if its hard to explain
If you don’t want any click detectors then you can put this in a local script inside of starter player scripts:
While wait(1) do if game.Players.LocalPlayer:GetMouse().Target.Name == “fill in” then -- do what you want end end
Hope I helped.
Like FlippinAwesomeCrew said you can use the event of a ClickDetector MouseHoverEnter
workspace.Part.ClickDetector.MouseHoverEnter:Connect(function(player) print(player.Name.." has mouse over brick!") end)
Edit: Should you need to check if the mouse is there at a random point of time and don't want an actual event then you can use the property of Mouse Target