What do you use MouseButtonDown and MouseButtonUp for?
I don't mean the same thing as was asked in a question like this: https://answers.unity.com/questions/1196052/mouse-button-up-and-down.html
I'm asking more about HOW people use it to implement features in their Unity projects. I come from a software QA background. I know that clicking down, holding the button and moving the mouse cursor off of the clicked target will result in no action taken as a sort of last minute back out (not necessarily intended by the developer).
But I don't think MouseButtonDown is meant to be used just to make sure people can't take back a choice and MouseButtonUp is meant to give people some obscure last minute I changed my mind feature set. It isn't click and drag because there is OnMouseDrag.
Since I couldn't think of situations where it was important to distinguish these two actions and have it be intuitive to the user, I wanted to ask in the public square. What do you use MouseButtonDown and MouseButtonUp for? Why was it important for you to use one over the other?
Your answer
![](https://koobas.hobune.stream/wayback/20220612235211im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to make Rotation of HingeJoint2D constant via mouse button C# 1 Answer
Fast Clicking problem 0 Answers
Cooldown between MouseClick Detection 1 Answer
Show and hide more buttons after clicking different button 1 Answer
My Story and Advice 0 Answers