You have a stamina bar at the top, once it reaches 0 by you moving too much you can't switch directions or stop moving