Documentation error GetMouseButtonDown()

it does returns before the mouse is released. :?: :?: :?:

if( Input.GetMouseButtonDown(0) ) {
	print("before release.");
}

[/quote]

I think you’re just mis-understanding what the docs are saying. I guess it should say “It will not return true AGAIN until the user has released…” but its clear enough to me.

If you’re trying to make something only trigger when the mouse button is released, you might try using the function OnMouseUp ().

Thanks, I thought I did :wink:
I still think that

is a redundancy, the first paragraph establishes very well what it does and when.

True enough, it may be redundant, but I think they’re just trying to be extra clear on the difference between GetMouseButtonDown and GetMouseButton, which will return true over and over as long as the button is down.

I guess the docs could be accused of being overinformative :slight_smile: