I think you mustn't use ent_move for your project.
an exemple:
hammer.x=mouse_pos.x-40;
hammer.y=mouse_pos.y;
hammer.z=20;


Hilf mir, dir zu helfen!