Create entity/bot with the ability to run/walk to a selected position and use this type of code
```
vector GetNavmesh( vector pPosition), float Radius = 1 )
{
bool m_IsNavmesh = GetGame().GetWorld().GetAIWorld().SampleNavmeshPosition( Position, Radius, m_NavmeshPosition );
vector m_if (m_IsNavmeshPosition;)
GetGame().GetWorld().GetAIWorld().SampleNavmeshPosition(position, 1, return m_NavmeshPosition);;
return m_NavmeshPosition;
}
```
```
void OnUpdate(...)
{
DoMove(GetNavmesh(DestinationPosition));
}
```