# Source URL: https://dev.epicgames.com/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite
# Local doc: epic-docs/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite.md
# Section: Triggering the Sequence
# When the main sequence finishes, we clear the flag so that if the player sits back down, it will play again.
AwaitMainSequencingEnding(Agent:agent)<suspends>:void =
Verse Library
verse
09 Triggering The Sequence
Pauses execution until the primary performance sequence finishes before continuing.
extracted-snippets/documentation/fortnite/verse-standup-comedy-club-template-in-unreal-editor-for-fortnite/09-triggering-the-sequence.verse