threw in some maths for calculating movement direction
checking event to follow player