How to do on-Map encounter in MZ

I am trying to have a enemy move around on the map and then case the player if they are too close then trigger a Battle if touches. Where do I start ?

Edited : I was able to Set a event , change the image to a Evil Player, Set the random movement, set it to touch and then for the actions - Change Battle Background > Battle processing-Goblin.

Not sure if my approach is correct.
How do I go about having it chase the player or is there a plug in for that?
I am trying to have a enemy move around on the map and then case the player if they are too close then trigger a Battle if touches. Where do I start ?

Edited : I was able to Set a event , change the image to a Evil Player, Set the random movement, set it to touch and then for the actions - Change Battle Background > Battle processing-Goblin.

Not sure if my approach is correct.
How do I go about having it chase the player or is there a plug in for that?
There is a plugin, http://www.yanfly.moe/wiki/Encounter_Effects_VisuStella_MZ

Original thread: https://forums.rpgmakerweb.com/threads/how-to-do-on-map-encounter-in-mz.138926/