Object2VR 4 Docs / Using Action Filters

Using Action Filters

Action filters let you define conditions for the execution of actions assigned to an element.

In this tutorial, Hopki shows us a few examples on how to action filters.

The following video was created with Pano2VR, but the actions work the same way in Object2VR.


Hide a Menu in a Specific Browser

  1. In the Skin Editor, add a menu from the Components Toolbox or create your own.

  2. Select the menu’s container.

  3. Add a hide-on-start action.

    • Source = Start
    • Action = Visibility
    • Type = Hide Element
    • Target = $self
  4. Open the Action Filter.

  5. Add the following filter:

    • Trigger = Browser (Advanced > Browser)
    • Comparison = =
    • Value = browser of choice (Chrome, Firefox, Safari, Edge, Internet Explorer, Unknown)

This will hide the menu in the chosen browser.

See also…

Last modified: May 25, 2021