I cant seem to get animation tree to work

Godot Version

Godot 4.2

Question

I cant seem to get animation tree to work how I want it to, after the player has stopped the walking animation switches back to an idle animation state fine but it dose not seem to register the blend space 2d to face the player in the last direction when stopped from walking

I have uploaded my project file here