Mouse input KeyCode.Mouse3...KeyCode.Mouse6

How do I get KeyCode.Mouse3…KeyCode.Mouse6 to work? I’ve found only a few post but no answers.
Strange that these are included in KeyCode but doesn’t seem to work and the documentation isn’t very helpful.

KeyCode.Mouse3

description:
Fourth mouse button.

I think you’re looking at the wrong bit of the documentation, you want “input” not “keycode” :slight_smile:

put them into the bottom example on

No, you didn’t understand the question. The answer is that you use them as normal, and if you have a mouse with enough buttons, and the buttons aren’t being redirected by a utility to do something else other than standard mouse clicks, it works fine. At least it does on a Mac with a Logitech G400s (5 buttons); Mouse3 and Mouse4 are the side thumb buttons.

–Eric

1 Like