Code
local Player = game.Players.LocalPlayer
local Mouse = Player:GetMouse()
Mouse.TargetFilter = workspace.Part
workspace.Part.ClickDetectorMouseClick:Connect(function()
print("Clicked")
end)
I want Mouse to filter a part that is covering a block and it is transparent so that players can see but mouse won't filter it so I can click the click detector undearneath the block

2 comments
I'm not very sure what you mean. Can you explain further?
hey man. it seems like clickdetectors won't actually work because they do not account for targetfilter, but you can easily make your own as referenced here: https://devforum.roblox.com/t/click-detectors-ignoring-targetfilter/276244/2