Control the exit position according to your own position