As I said yesterday, I had to use a variable ("register") to distinguish the frames and got the same problem I had with the UIDs. If I click on a square and the frame is correct, the value of the variable "squareRight" is changed. To change this variable is necessary that all the squares with the variable "register" =1 have been selected.
Below is the code I used but that does not work
Event: Pick all square
Sub-event: Pick square where square.register=1
Sub-event: Animation frame = 3
Action: Set squareRight to 1[/code:1tgguz44]