Assuming the green frame=1, you can pick the green frames and check if the PickedCount = Count
+ Touch: On touched Sprite
-> Sprite: Set animation frame to Self.AnimationFrame = 0
----+ System: Pick all Sprite
----+ System: Pick Sprite where Sprite.AnimationFrame = 1
----+ System: Sprite.PickedCount = Sprite.Count
-----> Sprite: Rotate 22.5 degrees clockwise (do stuff)