Menu Option Resource (Object Interaction)

For an overview of Resources, click here.

For information on what Object Interactions are, click here.

Deep Learning on Resources is found in Motive Academy. Click here to see the course this lesson is in.

 

Overview

The Menu Option object interaction emits an Event once the learner interacts with the Menu Option that appears on the specified object. The author can specify the text or image displayed on the menu option.

An example of how the Menu Option object interaction could be used is a speaker in the environment and the learner can interact with a menu that works with Dynamic Variables to adjust the volume of the music to be louder or softer:

Required Fields

 

Field Name

Description

Field Name

Description

World Objects

The object the menu is anchored on.

Input Options - Text and Image

The text and/or image to be displayed as an option(s).

Optional Fields

Field Name

Description

Field Name

Description

Require All Targets

If more than one World Object is designated, this would require all.  Otherwise referred to as Target Object.

Prompts

Add an effect or text to draw attention to the item you'd like the learner to.

Prompt Anchor

Object Interaction prompts without an anchor will end up on the object you are targeting because they’re meant as annotation or extra information about the object in question. If you want to accompany an Object Interaction with additional information for the learner, you could add a Notification or Screen Message to the Frame as well.

Event

Determine an Event or Custom Event to fire along with any other Events that would normally fire.  This field is generally used to distinguish between different options for branching.

Require all Inputs

If more than one Input is designated, this would require all.

Persistent

Will stay open and continue listening for Input and will continue to fire scripted Events.  If this is chosen, the close Event cannot be used as it doesn't close.

Interacted Objects

If multiple World Objects are identified, you can add a Variable here that contains a record of the World Objects the learner has interacted with and the Variable then affects only those in that list.

Events

Activate, Close, and Custom.

End Script Resource

If there is an End Script Resource in the same Script as the Menu Option and it fires before the learner can complete the interaction with the Menu Option, then the Menu Option will close. To address this, you can set up the scripting to run the End Script after the Menu Option interaction is done.

Example in the Headset

In the Motive Lab, I’ve set up a menu to appear on the Sonicator equipment and the learner will choose the time to apply to the Sonicator.

  1. (Optional) Add a message with instructions:

 

  1. Add the Menu Option Resource with the World Object chosen, the instructions, and the options for the learner to choose from:

  1. You can then Script what will happen when each option is chosen:

 

Note: If you want to replay the menu if certain options are chosen, you can use the Replay resource as shown above. Ensure you check “Ignore Previous” in the Replay frame to prevent an infinite loop:

 

Here is what the above will look like in the headset:

https://vimeo.com/721076350

View the video full screen on Vimeo at this link.

Related Articles

Use Tool Resource

Select Resource

Equip Resource