Any component question

When I first learned any component, I think at that time you had to have a list for the items in the list. I don't think that is the case anymore, does anyone know? Also I was wondering how you handle a situation if you want 5 of the sprites to be "any component" but 1 not. Like in "get the gold" where you have a pirate and 5 pieces of gold.

this is when the notAlreadyHandled parameter can be used, see an example here App Inventor Tutorials and Examples: Advanced Features | Pura Vida Apps
see especially the when any button click event there...


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

1 Like

Here's another sample for you ...