What did the filtered for block do?

filtered for [#911a44] ::reporter sensing

If you go to Snap! v4 and go to dev mode, there is a filtered for [] block.

The type of this block returns undefined:

type of (filtered for [#911a44] ::reporter sensing) //returns "undefined"

The block was removed in between Snap! 4 and 5, and there is no documentation for it.
If you try to load a block with it’s selector (colorFiltered), it’s undefined in Snap! 11.
So, just curiously, what does this block do?

and it’s (Obsolete! ::#bb0000) in snap 5.

it seems to return a copy of the current costume but only the parts that have the specified color

I was able to recreate it

here’s my improvements:


This actually seems like it could be really useful given the correct situation

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.