Pick only one:
Pick Sprite where Sprite.AnimationName = "Boulder"
--->For Each Sprite order by sprite.y ascending...
But if I want to pick two different objects in same event tree?
Pick Sprite where Sprite.AnimationName = "Diamond"
will not work
Not that either.
Pick Sprite where (Sprite.AnimationName = "Boulder") | (Sprite.AnimationName = "Diamond")
won't work either (only Boulder will work).
Adding a sub event is not the solution as it will just try to search the "picked" boulders to find diamonds in them.
Right now I have two event trees, first processing the Boulders and then the Diamonds, but I think the result is not optimal, it would be best if these 2 (animation names) are treated as one in same event tree.
I don't know what your other events look like so this may not be a best solution.
But it works anyway.
Develop games in your browser. Powerful, performant & highly capable.
At first I got puzzled, I did try that, but then I realized I made it too convoluted by using System, Pick when it is enough with your method..
It seems to be working now! Will go further on this one. Thanks.