Added basis for clicking to move player.