# How do I run autoplay for N spins with a stop condition?

Source: https://pixi-reels.schmooky.dev/faq/ui-004/

Loop `await reelSet.spin()` N times with your own stop conditions.
