Select an object using mouse click

You have a good example of how to manage the mouse in DragControls.js.
Having this, you could simply have a look over there and repeat it in your code: