Enemies are objects similar to the player.
We only need to make one object and can place it multiple times onto the room.
Enemy objects can be given instructions to move, that can be triggered by a Create Event. Then each step, we can get the object to check if it needs to bounce of the solid walls.
Advanced instructions may include getting an enemy to follow a predetermined path through the maze, or even follow the player!
Create an enemy object called obj_Enemy
Add a Create event, and set the direction and speed.
Add a step event and get the object to move and bounce off solid objects.
Then get the obj_Player object to check for Collisions with the enemy and restart the room if it collides!