Answer by akiva42 · Jun 24, 2016 at 03:19 PM
When the button is pressed set a bool to true. When the mouse button is released Input.GetMouseButtonUp(0)
set that bool to false. Now you just check that bool if you want to know if the user is pressing the button.