For Element Of Value

I have a question. Can somebody show. me how to use FOR ELEMENT OF VALUE
Help apperciated.

1 Like

This loop comes in handy when placing sprites over a tile in a tilemap.

Here is an example by @jwunderl that shows this use case: https://arcade.makecode.com/02723-14827-63089-78067

1 Like

@NxNMatrixGL Ok Thanks! I always look at serious projects And I see that and it always confuses me.

1 Like

It’s also useful when you want to control a singular sprite that has many duplicates.

1 Like

I already figured it out like 4 months ago (This topic is old :sweat_smile: )

Thanks though!

1 Like