--- title: "Loops" slug: "loops" updated: 2024-11-27T19:50:26Z published: 2024-11-27T19:50:26Z canonical: "support.beast-code.com/loops" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.beast-code.com/llms.txt > Use this file to discover all available pages before exploring further. # Loops In Beast Core 4 Courseware Editor, use a Loop card in conjunction with Decision and Include Fragment cards to create choices for learners and improve instructional flow and engagement. # Loop Course Card Allows topical segments within a lesson to run on repeat | Typical Course Card Order | | --- | | | Environment: 3D Viewer | | | Load in 3D Systems | | | Go To (Position) | | | Information | | | Loop | | | **Decision** - (REQUIRED) - Nests below the Loop card | | | **Include Fragment #1** - (REQUIRED) - Nests below the Loop card | | | **Include Fragment #2** - (REQUIRED) - Nests below the Loop card) | | | Additional *nested* **Include Fragment** cards (if needed) | | | Environment Card - (REQUIRED) - Returns the learner to the Main Lesson Track upon successful Loop completion | ## Loop Card Usage - Uses **Flags** (created in the **Overview** tab » Flags section) - Assign the value **1** to mean a **Flag’s** condition is **not complete** - Assign the value **2** to mean a **Flag’s** condition is **complete** - Works in conjunction with **Decision** and **Include Fragment** cards - Nest these cards below the **Loops** card for proper functioning - See the [How to Create Loops, Flags, Decisions, and Fragments](/beast-core/docs/how-to-create-loops-flags-decisions-and-fragments) article for more information - Loops the nested **Decision** and **Include Fragment** course cards on repeat until the learner meets the end condition for each associated **Flag** ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(840).png) > [!NOTE] > Follow-up Card Requirement > > **Always** add an un-nested **Environment** card immediately after the last **Include Fragment** card in a Loop. Gives you an omnipotent bird's eye view of the workspace. Allows a segment of the lesson to run on repeat until flagged objectives are met. Used to switch between different viewers. A sequence of cards that structures a lesson. A named, mutable, stored value used for lesson routing based on learner interaction.