Instead of creating the variable yourself Get Player Pawn > Cast to yourplayercharacter > Get Velocity.