Noob question: 1 input to mouse or pause?

Is there a way to pause the mouse pick input, cause using the tutorial mouse demo as an example, when u click left mouse the mouse function runs like 10 times I`m guessing cause the mouse picker is running in update and therefore is updated every frame.



So could any of you please show me the best way to pause it after a single click or give me a way to get the mouse to take an input once without pausing the update pls?



I want to reset the last object i clicked on to its original state and this is making it difficult.

ok scrap that question, my brain came back online and i took the easy route of using a boolean for mouse button up n down, stopping the mouse click check function on 1st pick.

i was sure that you'll find it out by yourself :wink: