Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

For an overview of Enums, click here.

Panel
panelIconId1f393
panelIcon:mortar_board:
panelIconText🎓
bgColor#4C9AFF

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.

...

For full screen please view on Vimeo at this link.

To learn more about the video playback options, including CCs, Transcripts, Quality, Speed, and Size, click here 

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

...

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