Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
Input.getMouseButton
Grace Johnson
Programming language:
Whatever
2021-06-24 05:28:09
0
Q:
Input.getMouseButton
Attia Noor
Code:
Whatever
2021-07-22 20:24:50
if (Input.GetMouseButton(2)) { Debug.Log("Pressed middle click."); }
0
Tags
get
input
Related
input autofocus
mousebuttondown
get mouse position unity
New to Communities?
Join the community