Home »Action Reference»Input Actions»Get Mouse Button
Index

Get Mouse Button

Gets the pressed state of the specified moused button and stores it in a bool variable. See Unity Input Manager doc.

Button
The mouse button to test.
Store
Store the mouse button state in a bool variable.