Scripting random movement of characters across the map

Hi. I need to make a game whenever you catch an animated character that is moving randomly&away from the player across the map.
Whenever I catch a character - the score in incremented by 1. There also be characters that are to be avoided and can cause a “game over”.
So that’s the concept. Could you please point me in the right direction on how can I make a script for characters to randomly move across the map&away from the player. Would that be AI?

Watch some tutorials about making bot AI.
Make test map. And don’t forget to add Navmesh to your map.
Then find random location on map and use simple move to node for bot to go there.

It is quite simple.