Force mouse to the middle

Does anyone know the code to make an instance being copy/dragged to position itself so that the mouse is in the center not the top left?

Example would be great.

Thanks