Get Should Move node in UE5

If anyone is facing this problem with a custom made character, just build the following nodes in the animation Blueprint of your character