Screen testing not working

Hello All

I am having bug troubles with my app. I have most of the code working correctly, but it isn't allowing me to test anymore. Can someone analyze and tell me what might be the issue?
Additionally, I keep getting this error: RuntimeError. Irritants: (Select list item: Attempt to get item number 0, of the list [<AIComponentKit.Ball: 0x3039f2c10>, <AIComponentKit.Ball: 0x3039f2760>, <AIComponentKit.Ball: 0x3039f2fd0>]. The minimum valid item number is 1. List index smaller than 1)
Note: You will not see another error reported for 5 seconds.

Here is a picture of my code:

Thank you
Makaya

Fill all sockets

Taifun

image

Global balls is a list of 7 Ball components.

How is that For Each supposed to work?
The From is supposed to be a number, not a list.

Your RuntimeError suggests you're trying to access index 0 in a list, but in many programming languages (like MIT Appinventor), lists are 1-based, meaning the first item starts at index 1, not 0.

Check where you're using "Select list item" and ensure the index starts from 1 instead of 0. If you're dynamically generating indices, add a condition to avoid referencing index 0. Let me know if you need help debugging the specific part of your code!

(Spam link removed)