My character will not rotate

I used a tutorial for making my sprite rotate when moving left to right, but my character refuses to rotate. I have been at it for hours. Please help

i think you forgot to connect the compare float node with the add movement input in the second event.