An example project which allows the user to designate the number of times the Star component Spins. Simulating a conditional animation loop according to the input of the user while using a total of 2 variables and a container with 3 states.
Swipe up and down to choose between cards
Credits:
Card designs used from:
https://www.sketchappsources.com/free-source/2453-credit-card-designs-sketch-freebie-resource.html