--- title: "Set State" slug: "set-state" updated: 2024-11-27T19:40:22Z published: 2024-11-27T19:40:22Z canonical: "support.beast-code.com/set-state" --- > ## 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. # Set State Use a Set State course card in Beast Core 4 Courseware Editor to change the state(s) of any component(s) in the Digital Twin. ## Usage Use the Set State card to set the initial load State(s) of Component(s) you want a learner to navigate to, locate, or interact with. > [!NOTE] > Use Case Example 1 > > > > **Scenario:** You want a learner to locate and **open** a specific **undamaged** component. > > > > 1. Add the **course** Cards shown in the chart below to your lesson > 2. On the **Set State** card, use the **search box** to find your desired component > - Set the following initial load states for your selected component: > - Undamaged > - Shut > 3. On the **Interact** card, type the words **Open $component** in the Objective **Message** textbox and select the desired component > 4. In the learner view, this component will be in the **shut** state when the learner initially locates it > 5. The learner must **interact** with this component and change its **state** to **open** to progress the lesson | Course Card Order for Above Use Case | | --- | | | Environment: Avatar Viewer | | | Go To: (Space) | | | Set State | | | Go To: (Component) | | | Find: (Component) | | | Interact: (with Component) (Select the “state” change(s) the learner must select to progress the lesson) | > [!NOTE] > Use Case Example 2 > > > > **Scenario:** You are planning a lesson in which the learner must change the **states** of several different components in the **Avatar Viewer** environment. > > > > 1. You only need one **Environment: Avatar Viewer** course card (at the beginning of this segment of the lesson) > 2. You can use a single **Set State** card to set the initial load states for **all** components your learner will interact with in this section > 3. Use a separate set of **Go To**, **Find**, and **Interact** cards for each component **state** change interaction ## How to Populate a Set State Card 1. In Layout Mode, click the plus sign on a **Set State** card to add it to the Lesson Track ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(848).png) 2. Left click Edit Mode to open the card for editing ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(847).png) 1. Use the **search bar** to select a desired component - Left click the search bar to bring up a menu of available components - Or, type a component name or partial name ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(850).png) 2. Choose your desired initial load component **states** from the **Damaged** and **Enabled** dropdown boxes ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(852).png) > [!NOTE] > TIP > > Keep in mind that you will later ask the learner to change one or more of these **states**. 3. Click **Add Component** - This action moves your **component** and **set state** selections to the right-hand **Component Changes** section of the screen ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(853).png) 4. Repeat **Steps 1 - 5** if you want to set initial load **states** for additional component(s) ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/set_state1.gif) ## How to View, Update, or Delete Items on a Set State Card 1. In the right-hand **Component Changes** box, left click the component you want to view, update settings for, or delete ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(856).png) 1. View the current **states** set for this component entry in the **Component Changes** box ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(857).png) 2. Update this entry’s **component name** or **state** selection(s) in the left-hand **Select Components** box ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/image(858).png) - Left click the small **x** in the **search box** to select a different component - Use the **Damaged** and / or **Enabled** dropdown menus to select different **state(s)** - Left click **Update Component** to save your changes - Or, click **Cancel Update** if you are just viewing these settings and don’t want to change anything 3. To **permanently** remove a component entry, click the **Delete** button in the right-hand **Component Changes** box ![](https://cdn.document360.io/820c65d9-cf4e-4289-9237-5bc834b3bd3e/Images/Documentation/set_state2.gif) Used to change the state of any component in the digital twin. The status of an object or component (e.g., open/shut, on/off). A specific and defined piece of equipment or part within a system or a space. The different elements of a lesson in Learning Viewer/Editor that are used to build lessons. Each of the different cards has different functionalities. See the Cards section of the Help Desk for more information. Explains the action required for learner to advance to next page. Places you inside the workspace. You are constrained by the physical limitations of the workspace. A specific and defined area of a platform (e.g., room, level/story, a hallway). Mode in which cards can be added, removed, and reorganized on the lesson track in Learning Editor. A sequence of cards that structures a lesson. Mode in which cards can be selected from the lesson track to edit the contents.