Try something like this:

Code:
while(1)
{
	my.x = entity.x - 50;
	my.y = entity.y;
	my.pan = entity.pan;
}