After all four images have been added text is added to the bottom left corner and routes are added which link TouchSensors on each of the images to Conditional nodes. Each Conditional node contains a replaceField command to replace the order field of the OrderedGroup so that the image selected is on top in rendering order (the other three images are always put into a fixed sequence)
Snapshot taken after all images added.
![]() |
Snapshot taken after second image selected.
![]() |