I tried this | "Pipe" symbol, construct 2 accepts it but when i run it, the other frames doesn't work.
sprite1frame = 0
sprite2 frame = 0 | 1 | 2 | 3 | 4 | 5
System go to layout 2
On this example, only the frame 0 of sprite1 and frame 1 of sprite2 will work. The other frames seems to not work
Its because you think the | works in a different way than it does.
The | will return true or false depending on whether one of the Or conditions are correct.
So it should look like this:
If Sprite.frame = 0 | Sprite.frame = 1 | Sprite.frame = 2
Then it will return true and therefore condition is true as well. If Sprite.frame is not 0, 1 or 2 then it will return false.
So its not a functionality where you can ask in the sense of whether Sprite.frame is 0,1,2.....100 and if that's that the case do something. Well you can but you have to write it as I did above and compare it to either 0,1 (False, True)