Attempt to get item number 4 of a list of length 0: [] , how can clear it

Attempt to get item number 4 of a list of length 0: []

It means that you have an empty list, but you selected the fourth item (which does not exist) of the list.

1 Like

(Attempt to get blocks from some one who supplied no blocks)

Please download and post each of those event block(s)/procedures here ...
(sample video)

1 Like

Before accessing the list with index, it is always better to check its length, if it is zero then access with indexing, should be denied to avoid index out of bound runtime error.

2 Likes

how can solve in this issue

As already suggested in order to get help ...

else use Do it to debug your blocks and see why your list is empty

2 Likes