Could I ask a follow-up question - I'm trying to create the effect when an EnemySpawner sprite comes "onto" the screen (EnemySpawner.Y >= ViewportTop("Game")?).
However, I'm having trouble with the for-each loop (line 14, Event Sheet 1). If I see the preceding condition (line 13) to time > 0.5, then none of the following code is called. If I set the preceding condition (line 13) to every tick, then the following conditions are all called (because ViewportTop("Game") is mysteriously set to 0).
I have attached a capx file below, and wondering if anyone can help? Can I ask why there is a difference between time > 0.5 and every tick (I assumed that both conditions will be called multiple times?)? Secondly, is there a way to call the for-each loop multiple times so I can keep testing the condition (EnemySpawner.Y >= ViewportTop("Game") until it is true?