How to use ConsumeMovementInputVector and SetActorLocation for implementing movement of a custom pawn?

I created a pawn class from the base Pawn class and have given the following to implement movement of the pawn in the space. I did this because I came to know that the easier option of using Add Movement Input doesn’t work for derived pawn classes. Below is the snap of my blueprint implementing the same, it’s not working. Can someone please help me out?