Get input action value in Animation Blueprint Event Graph

I’m very new to UE but I’m trying to add an animation transition from idle or running to my headbutt animation. I tried using the get Input Action function to get the input value and store it as a variable. Then in the AnimGraph I made a transition if Input Value is true. This is the same process I used to transition from idle to run and ground to air. I used speed variable for idle to run and is falling variable for ground from air. Why isn’t this working and also is there a better way in general to make animation transitions than this?
Thanks for reading.

Heya, you can use Property Access, its the “new” thread safe standard.
You can directly access variables with it from your Character or Enemy blueprint.

image