How is that possible to do? Move object

I think that the best option would be: We need to take a distance from the camera to the object and subtract, but the problem is that the axis sinhronization X Y at rotation