Input.GetMouseButtonUp Manual     Reference     Scripting  
Scripting > Runtime Classes > Input

static function GetMouseButtonUp (button : int) : bool


Returns true during the frame the user releases the given mouse button.

It will not return true until the user has pressed the mouse button and released it again. button values are 0 for left button, 1 for right button, 2 for the middle button.