this is just for pan yet!

Oh and the p1.x is the pointer to the point..
I used
entity* p1;

and then assign the target the p1=me command.