docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Repeat execution modes

    Explore the execution modes you can use to control how and when the Repeat node repeats its child branch.

    The Repeat node wraps a child branch and re-runs it based on the selected execution mode. Use execution modes to define the stopping condition and the result the node returns when it stops.

    Mode Description
    Forever Repeats the child indefinitely, regardless of its result.
    Until Success Repeats the child until it succeeds, then stops and returns success.
    Until Fail Repeats the child until it fails, then stops and returns failure.
    Condition Repeats the child while a condition is true. Stops when the condition becomes false. Supports observer abort.

    Additional resources

    • Node types
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)