Controlling Sprites in a Group

Today one of my students but a few sprites in a group. I thought we could iterate through the group with a for loop and get each sprite to check their x position. That seems to cause a syntax error. Any suggestions about how the x position of each sprite could be checked? Do I need to create a temporary sprite variable to hold each element in the group to check it?

Hi Myra,

Can you paste in the share link so we can look at the code?