Editing Event Rules

You can edit event rules to let you interact with your experience.

See Also
About 2D Panel Rules and SVG Elements
  1. In the tree, select a 2D panel.
  2. From the 2D Panel section of the action bar, click Edit Event Rules .
    The Events dialog box appears. The Elements area shows the structure of the SVG file associated with the 2D panel.
  3. In the Elements area of the Events dialog box, select a graphical element or a group from the tree.
  4. To create a rule, click New in the Rules area.

    Note: Click Edit to consult or edit an existing rule.

  5. In the New Rule dialog box:
    1. Enter a title.
    2. In the Condition field, select a type of action between click and dblclick.
    3. For each port requiring the setting of an action, select the port in the instance tree and enter a valid value for the port.
  6. To create the rule, click OK.

    Note: All entries have to be valid for a rule creation.

    In the Events dialog box:

    • The rule title appears in the Rules area.
    • In the Elements area, the SVG element appears in green and bold, and its parent hierarchy appears in bold.

      Hover over the rule title to display its content.

      Note: An element is displayed in red color, if an error appears on a rule.

  7. From the 2D Panel section of the action bar, click Save to save the rules.