How to Make a object follow my mouse when i click on it

i know how to make an object follow the mouse always but how can i make it do that only once i click it.
Thank you

Mouse(down) - (on) Switch - Position
Mouse move (x&y) - (in) in the same switch above)

Hope it helps :smiley: