Thanks for the feedback! The core mechanic wasn't very clear, I’ve tweaked the description a bit to make it clearer.
The idea is that the critter wants to go to the nearest leaf, so you need to alter its sense of direction to guide it to the door.