Unity scene click events

How can I get click events while on Editor Scene view?

My goal is to place something where the user clicks (as long as the GameObject with the given monobehaviour, and CustomEditor is selected in the hierarchy) without the click causing other seconday actions (like deselecting the GameObject when left clicking or selecting another GameObject, I want to be able to select another GO, only from the hiearchy).

have a look at:
Event.current.type

How do I prevent the click to continue “behind” my mouse after I used the “event.current.type” to perform an action?

I’m not exactly sure what you mean, but you can use an event with Event.Use();
there are lots of other useful thing the Event class has, I suggest reading up on al of them :slight_smile:

Well, it is not documented very well :smile: but thanks I will try by attemps then.