Four condtionals are placed in the scene, that when activated, will add an image at the end of the children field of an OrderedGroup. Four other condionals are added that will delete one of the images; the image deleted being the one that is clicked. The conditional that deletes the image is also routed, by its isActive, to the conditional that inserts the same image back at the end of the OrderedGroup.
The sequence is begun by replacing the activate field to true on the four conditionals adding the images.
Unlike the IBMOrderedGroup test this test case will stack the images in the arbitrary order they are clicked.
Snapshot taken after all images clicked, bottom to top, to reverse initial order.
![]() |