How to let my variable of running to be true to let my character run?

I migrated the contents of Shootergame Demo to my own project.I can use the character to play right now,but problem is how to let my character run?I opened the AnimGraph and check everything is OK,but I changed the node “Cast to ShooterCharater” to “Cast to FirstPersonCharacter”

But the problem is,the two functions “Get AimOffset” and “Is Running”

37699-2=.png

become blue and cannot connect to the “As Firstperson Character” in the “Cast to FirstPersonCharater”,I try lots of ways to build a function but just not work to let the boolean “Is Running” to be true while I pressed “shift” key.
How can I do?Thank you.