Now that we have a map, we need something that can read it 
Create a new scene with CharacterBody3D as the root 
Add a new MeshInstance3D as a child 
Add a new CollisionShape3D with a New CapsuleShape3D 
Finally, add a new NavigationAgent3D 
Select the NavigationAgent3D 
Locate the Debug property 
Attach a New Script to the Enemy node 
Use the CharacterBody3D Basic Movement Template 
We DO NOT want to control enemy movement with keys 
Comment out the final line with the call to move_and_slide() 
Set the enemy to find a path to the player 
set the target position to be the players global position 
keep updating the position so that a  
path can be drawn to the player 
Return to the Sandbox scene 
Instance an Enemy within the scene