drag objects

dear all

what about if we want to write a code that make any object dragable

Just use the drag rigid body script wich is installed with the standard assets of unity.

but I cant handle that in case of pressing down the mouse button!!!

The Drag Rigid Body Script uses the left mouse button as default input to grab rigid bodies…