How to make a npc that uses procedural animation to move?

Hey! I want to create a procedural animation to make my NPC move towards nearest torso/characters.

But I don’t know how to create procedural animation, can someone help or give me an example of it.

This doesn’t sound like procedural animation, rather just path finding : PathfindingService

Procedural animation would be used for something like IK solving when a player walk across uneven terrain, or having the hands - head of a character dynamically follow the mouse