Thought I would post this here as a help for anybody who was looking for a random movement of enemies on a grid.
drive.google.com/file/d/1JC5lnucIElCZAUV9ceHjdkrLmj4nPxAx/view
Develop games in your browser. Powerful, performant & highly capable.