I’m creating an enemy (Spider_Bot) that moves left and right and at some point (for example, every 4 sec.) it will shoot laser beam (done by creating the laser object and change its height to fit on the battlefield.) then it will gone after another 4 seconds. It works perfectly fine but its only working on one enemy (Spider_Bot) only.
I try to use for each object but it’s not working. I know there’s something that I have done wrong so I hope someone can help me with it. Thanks in advance!