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

How to make ClickDetectors refuse input from the Right mouse button?

Asked by 10 years ago

Title pretty much sums it up. Thanks in advance!

1 answer

Log in to vote
1
Answered by 10 years ago

There is no current way to check to see whether the button that clicked was the right or left mouse button. I'm sorry, but you cannot achieve what you want using a ClickDetector.

However, you could use, say, a SurfaceGui with a TextButton that activates what ever the ClickDetector currently does when the left mouse button is pressed. Just a suggestion.

Ad

Answer this question