Why does my crouch not work?

I have an anim graph where the crouch animations are controlled the same as jump, with a start, loop, end animation set: Screenshot by Lightshot

With this event graph, where the is crouched variable being set by the is crouching function: Screenshot by Lightshot

And my character’s blueprint for crouching: Screenshot by Lightshot

Everything seems to work on its own, just not in game. Setting Is Crouched? in the edit preview does what I want it to do. I checked if it was an input problem by using my crouch event to output a string, and it seemed fine. But in-game, it just doesn’t work. Any ideas why?