Forum

GetFlagCount node or something like that?

hello vvvvboys.

Is there any GetFlagCount node or something like that?

I cant find it.

Sorry to ask you such a dumb question…

depending on what you want to do, you could achieve this using Sift (Value) or Select (Value) or Occurrence (Value)

Select (value), connect your spread to the select pin and you get the output from the former slice. This woks only for Boolean values(1 or 0) like in your example.

I have made a simple plugin for something like what you are looking for(not only for booleans)
https://discourse.vvvv.org/t/9248
Just connect a count-(value) to the output