Skip to content

Create an interaction

Create a simple visual interaction without writing code.

Before you start

  • Enter Edit mode with script-authoring permission.
  • Know which object should trigger or receive the action.

Follow these steps

  1. Open Scripts from the editor toolbar.
  2. Choose New script.
  3. Enter a descriptive name.
  4. Add an event block, such as when a visitor interacts.
  5. Choose the target object inside the event block.
  6. Add an action block below the event.
  7. Choose the action target and set its visible options.
  8. Save the script, exit Edit mode, and press E on the trigger object.
Video placeholderCreating and testing a one-event visual interaction
Replace with: Creating and testing a one-event visual interaction

Check that it worked

  • The script appears in the Scripts list.
  • The configured action happens when the event is triggered.

Useful tips and common mistakes

  • Start with one event and one action.
  • Give objects clear names before selecting them in blocks.
  • Test after every small change.
    Documentation | VIRTUX