This is it!!! It works! I put out 5 balls and I touch them to get the list number back! Thanks! Eternal gratitude!
You didn't use any!? That's a good example!
Is “notAlreadyHandled” the exception ImageSprite that exclude from this?
see the documentation here Any Component Blocks
Events
Any component events are the most complex form of an any component block. For any given event, the corresponding any component event adds two more parameters, component and notAlreadyHandled, to the existing list of event parameters, if any. The component parameter will be the component that triggered the event, such as Button. The notAlreadyHandled parameter is true if no other event block specifically handles the event for component.Consider the following pseudocode for event handling to see how this works:
An event occurs, such as the user clicks a button called Button1.
component is initialized to Button1.
notAlreadyHandled is initialized to true.
App Inventor checks to see if when Button1.Click exists.
If the event block is found:
The event block code is run.
notAlreadyHandled is set to false.
App Inventor checks to see if when any Button.Click exists.
If the any event block is found, the event block code is run with component and notAlreadyHandled passed to it.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Thanks Taifun. I will start a new post, so I don’t hijack this one.