Hi fellow Vuo-ers
Here's one I'm struggling with. I'm hoping for some advice on general patterns for designs flows where there is a large selection of things, and I want to filter to one thing, or output the first result that matches some criteria.
For example, here is my (nonworking) attempt to take a row of images, and detect a mouse click on one and highlight it.
So, I have a list of layers that I want to just find one (the first would do) and output that. However, the Process List node is optimised for doing the same flow to a complete list. In code, I'd just user Event Listeners, or a similar approach.
- How best to achieve my immediate goal of making a row of n images that are clickable (etc)?
- In general, is there an approach I should be using to find one-of-many? That is, to process a set of objects, with expectations of one (or maybe a short list) of results?
(Yes, yes, I know that Vuo is not a tool optimised for building UI. My problem still seems inside what one might hope to do with Vuo though, IMO.)