How do I get the character movement variable in animation graph?

How do i get the character movement node in an animation graph?

You mean the character movement component from your character Blueprint, I’d assume? Use try to get pawn which should be in the AnimBP already, and then cast to your character (this is assuming your character is set as the pawn to use in the game mode). And then drag out from your character variable and search for character movement component.