As far as I recall it had mostly to do with movement modes, especially switching to flying when I needed to give the player character upwards movement for ladders. I think there was some other reason too but I can’t quite remember.
Also, as I said it’s a nice way to learn