/
Create a Variable using Enums

Create a Variable using Enums

For an overview of Enums, click here.

To practice using Enums, in Motive Academy there is a course creating Hints for the learner.

 

Once you have Created an Enum, you can use it to create a Variable.

 

1. Open the script you want to add the Variable to

2. Go to the Variables tab

3. Click on Add New

4. Name the Variable

5. Under Value Definition, choose Enum in the first drop down

6. Under Value Definition, choose the Enum previously created from the second drop down

7. Save the Variable by clicking on the checkmark next to the name

 

To use this new Variable in a frame, drag and drop it from the Variables area to the right of the Resource area. You will then see it appear in a new column “Variables in Frame”:

When you click on Set Value, you’ll see the items from the Enum listed here.

Related Articles

Create an Enum

Use an Enum to Track a State in a Behaviour Model

Related content

Create Enum
Create Enum
More like this
Create a Variable
Create a Variable
More like this
Use an Enum to Track a State in a Behaviour Model
Use an Enum to Track a State in a Behaviour Model
More like this
Variable Settings
Variable Settings
More like this
Set Object State Resource
Set Object State Resource
More like this
Variables: An Overview
Variables: An Overview
More like this