One way of making the avatar move