Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Having a ClickDetector ONLY working on a mouseButton1Click?

Asked by 7 years ago

I'm annoyed of when I try to use my right mouse button to change my camera, I accidently activate a button, but I'm wondering if there is a way of making it only on MouseButton1Click.

script.Parent.Part.ClickDetector.MouseClick:connect(function() --What would I change?

end)
0
Using this methood would give you more control over things, https://scriptinghelpers.org/questions/30209/using-getmouse-instead-of-clickdetector User#11440 120 — 7y

Answer this question