Removing list item not working

hi guys, i have a game and after win, the bot randomly changes positions in one of the square (the game is on a 8x5 board) and i wanted the bot to not have the same position as player. and there was the bug: remove list item cant remove index 0, so i changed it so it has to work and it didnt (yeah i know im bad at english) here are my blocks


You get index zero , so remove block crashes.
Control why index in list can't find img1

When you set one list variable to another list, it points to the actual list.

If you want a temporary copy, you must use the list copy block.

Then you can remove items from the copy and not end up removing them from the original list.

This is not obvious.

2 Likes