Code written for enemies to become active when they enter the screen.