Step 3: Enemy Movement

Next, we will create the Enemy movement.
On every frame, each Enemy object will move 1 pixel to the left or right depending on their direction. The default direction is set to both left and right, in which case MMF2 picks one of the two at random.
6