Click but not drag

Hi!

How can I know if the palyer clicked on a gameobject but does not drag it? If it drags it should do something else?

Take a look at the Script Reference, OnMouseDown and OnMouseDrag.

Make sure your game object has a collider.

Goodluck