Is there a way to have all sprites of kind 'Player' in a variable?

i want to use some way of checking if the ‘x’ value (position) of every sprites of kind ‘Player’. Is there a way of doing that?

2 Likes

Using a ‘For value of array’ block you can do ‘For value of array of all sprites of kind player’ and check the x of each value!

well you can do this

1 Like

Thanks for the help! Arrays sin’t my strong suit so i would never have gotten this in a million years :upside_down_face:

1 Like

Thanks for showing the code, even though i don’t understand French i understand which blocks is wich. :sweat_smile:

1 Like

ya sorry for that
after you start using arrays it is easyer

1 Like