Force a mouse click when mouse button is released

Is it possible to make the computer think the mouse was clicked right after every release?

if(Input.GetMouseButtonUp(0))
{
    clicking=false;
    //Add ghost click
}

I tried a couple things with no luck.

Any help would be greatly appreciated!

For that kind of behaviour for a button, you could use a label or a box for the visual part, and a test Rect.Contains(…) when the mouse is released. If it’s hover the gui element, that’s a click.

Now you might want it to display normal, hover and down states. I suggest you create three GUIStyleState from GUI.skin.button (or whatever your button’s style is) and use them to change the appearance of the label by affecting them to it’s normal state. Note that you might need to delay the switch between down state and normal state when it’s clicked, or else it will be too fast.