I want multiple enemies on screen to shoot

Hey so I currently have a game with multiple enemies that spawn and fire projectiles however only the newest created enemy shoots. Is there anyway to make sure that all enemies on the screen shoot. Here is the current game I have. https://makecode.com/_FsEhWJbFi2tJ Thanks for your help

Welcome to the community! I like the game and I have a solution to that problem. You can use this:


This makes sure that for every single enemy sprite it repeats and makes a projectile and puts it on that specific enemy (via the “value” instead of the “badguy” sprite in the block that creates the projectile.) Here’s the whole code, working: