Works perfectly with local variables instead of frames matching Thanks again so much!!!

In order to go even further, how can I do to destroy a line and/or a specific color of chess?

Because I would like to asign a key when pressed the bottom line is destroyed (no matter the type/colors of the chess) and another key when pressed all the chess of the same type/color in the board are destroyed.Problem is I don't know how to create new chess (by triggering the "fall" state) and how to select a all line to be destroyed.

Also, sometime the board freeze and I can't swap the chess anymore? Is that normal or is that just with my game?

I am not sure why it had frozen. I did not have this situation before. Maybe I miss something.To destroy the same color, or destroy a line, You might try to pick all chess, then check the color or the logic position. The logic position of each chess could be got by expression:UID2LX, expression:UID2LY of rex_board object.logical position (x, y) = ( Board.UID2LX(chess.UID) , Board.UID2LY(chess.UID) )Or, using Condition:Pick chess at LX , Condition:Pick chess at LY of rex_board object. The document of rex_board is at here.

What about the freeze? Is that just my game then? Also sometime, even if if I swap 3 chess, it doesn't match and the chess go back to it original position. It looks like the game have determined which items shoudl match and you can't match any other ones...