Method SendMouseClickIf
SendMouseClickIf(ref bool, MouseButton)
Same as SendMouseClick(MouseButton) but checks for the condition
before sending action. This method sets condition to
the result of the send action operation.
public bool SendMouseClickIf(ref bool condition, MouseButton button = MouseButton.Left)
Parameters
conditionboolbuttonMouseButton