Adapting random movement