How to synchronize walking/running animations Unreal Engine 4 any tutorials ?

WOw it was easy I had to create some algorithms to make it perfect though…