There is no “plugin” for minimap, it depends on what type of game you are developping. From there, there are many possibilities for minimap, with camera, duplicating position with simplified, srpite etc.
You want to move the green sprite from left to right like a “patrol” ? If it’s it, here are the basic operation :
move sprite to right (force), when collision, flip horizontally and move to the left (force), when collision and sprite flipped, then move to right.
As Kink says, you want two events, one to make it move left and one to make it move right.
I would also expect those events to refer to the enemy colliding with the GoLeft and GoRight objects, not them colliding with each other:
19 Enemy is in collision with GoLeft | Do =1 to variable Goleft of Enemy
20 Enemy is in collision with GoRight | Do =0 to variable Goleft of Enemy
21 Variable Goleft of Enemy = 1 | Add to Enemy a force of -50p/s on X axis
22 Variable Goleft of Enemy = 0 | Add to Enemy a force of 50p/s on X axis
The “At the beginning of the scene” condition shouldn’t be in event 19, it should be in the first event. That’s also where you would put the actions to hide GoLeft and GoRight.