Altoura Training
Copy link
Creator

Show Text & Hide Text

Display or hide text overlays in the training interface

Overview

Use Show Text to display text overlays that guide learners with instructions, feedback, questions, and contextual information. Use Hide Text to remove text overlays when they are no longer needed.

Both Title and Body support variable interpolation. Use {{variableName}} to insert a training variable's value into the text. Create the variable and use Set Variable to set its value before Show Text runs.

Show Text

When to Use

  • Display step-by-step instructions
  • Show feedback on correct or incorrect answers
  • Display step titles or progress messages
  • Show congratulations or completion messages
  • Provide context-specific guidance

Parameters

ParameterTypeRequiredDescription
TitleStringNoAn optional heading. Supports {{variableName}} interpolation.
BodyStringYesThe text content to show. Supports {{variableName}} interpolation for variables created in your training.
Duration (ms)NumberNoAutomatically hide the text after the specified number of milliseconds. Leave unset for no automatic timeout. Enter 0 to remove an existing duration.
Reference ObjectObject selectionNoSelect a scene object or child object to position the text relative to it. With no reference selected, placement depends on Camera Relative.
PositionX, Y, ZNoText position in meters, relative to the selected reference object or child. With no reference, use camera-relative or world coordinates according to Camera Relative.
RotationX, Y, Z degreesNoText orientation in the same coordinate system used for Position.
ScaleNumberNoUniform text scale. Default is 1. With a reference selected, scale is relative to that object; otherwise it uses absolute scale.
Camera RelativeCheckboxNoAvailable when no reference object is selected. Enabled by default to place text relative to the trainee's camera view. Disable to use world coordinates.
Lazy FollowCheckboxNoAvailable when Camera Relative is enabled and no reference object is selected. Enable for text to follow camera movement with a delay. Disabled by default, leaving the text at its placement based on the initial camera view.
Wait Until CompleteCheckboxNoIn the browser Trainee App, enable to wait until the text is closed or automatically hidden before starting the next action. When unchecked, the next action starts immediately.

Selecting a Reference Object hides Camera Relative and Lazy Follow. Turning Camera Relative off also turns Lazy Follow off. If you turn Camera Relative back on, enable Lazy Follow again when you want the text to follow the view. New Show Text actions save Camera Relative as enabled; existing actions with this option explicitly disabled keep that setting.

Enter Body before using Edit in Scene to position the text. Expand Position to review its reference object, position, rotation, and scale after placement.

Duration (ms) controls automatic hiding. Wait Until Complete controls when subsequent actions run. In the browser Trainee App, enabling Wait Until Complete with no duration keeps subsequent actions waiting until the trainee closes the text. A configured duration also ends the wait when it expires.

Example: Simple Instruction

Action: Show Text
Body: "Locate the power button on the device."

A simple text overlay appears with the instruction.

Example: Show a Titled Message for Five Seconds

Add Show Text to the step's On Entry actions:

Action: Show Text
Title: "Inspection Reminder"
Body: "Check the control panel before continuing."
Duration (ms): 5000
Wait Until Complete: unchecked

The message automatically hides after five seconds unless it is closed or hidden sooner. Subsequent actions start immediately because Wait Until Complete is unchecked.

Example: With Variable Interpolation

Create two Number variables named score and total in the Variables pane. See Creating Variables for the setup steps.

For this example, add these actions to a step's On Entry list in this order:

  1. Set Variable: set score to 8.
  2. Set Variable: set total to 10.
  3. Show Text: enter You scored {{score}} out of {{total}}. in Body.

The displayed result is: You scored 8 out of 10.

In an assessment, update score as the trainee completes tasks and use the recorded value in the results step. The fixed values above demonstrate how interpolation works.

Example: Feedback on Answer

Create String variables named userName and componentName. Before showing the feedback, use Set Variable to assign their values. For this example, set userName to "Alex" and componentName to "power switch".

Action: Show Text
Body: "Correct! {{userName}}, you identified the {{componentName}} correctly."

The displayed result is: Correct! Alex, you identified the power switch correctly. These variable names are examples you define and populate in the training; Show Text does not automatically look up the learner's name or the selected component.

Hide Text

When to Use

  • Remove instructions before the next step
  • Clear feedback messages to avoid confusion
  • Clean up text overlays during transitions
  • Reset UI state between states

Parameters

ParameterTypeRequiredDescription
Target Show Text ActionAction selectionNoSelect the Show Text action whose text should be hidden. The default, Most recently shown text, hides the text from the most recent Show Text action.

Example: Hide the Most Recent Text

Action: Hide Text
Target Show Text Action: Most recently shown text

The most recently shown text is hidden. Other text overlays retain their existing visibility.

Example: Hide Specific Text

In Hide Text, select the Show Text action that displays the step's instructions under Target Show Text Action.

The text displayed by that action is hidden. Other text overlays retain their existing visibility.

To hide several text overlays, add a separate Hide Text action for each corresponding Show Text action and select it explicitly.

Best Practices

Show text in onEntry

Use Show Text in the onEntry actions of a state to display instructions or prompts.

Hide text in onExit

Use Hide Text in the onExit actions and select the corresponding Target Show Text Action to remove the intended text before transitioning.

Use variable interpolation

Insert values from your training variables using {{variableName}}. Match each variable's name exactly and set its value before showing the text.

Keep text concise

Use short, clear messages. Long paragraphs are hard to read on small screens.

Test on the target device

Check readability, display duration, and any scene placement in the Trainee App used by your trainees.

  • Show Panel — More complex UI with buttons, input fields, and media
  • Show Image — Display diagrams or reference photos alongside text
Was this page helpful?
© 2026 Altoura
Enter a page title, topic, or keyword.