Able to change the distance by pressing a key.