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
-
In the Skin Editor, add a menu from the Components Toolbox or create your own.
-
Select the menu’s container.
-
Add a hide-on-start action.
- Source =
Start
- Action =
Visibility
- Type =
Hide Element
- Target =
$self
- Source =
-
Open the Action Filter.
-
Add the following filter:
- Trigger =
Browser
(Advanced > Browser) - Comparison =
=
- Value = browser of choice (Chrome, Firefox, Safari, Edge, Internet Explorer, Unknown)
- Trigger =
This will hide the menu in the chosen browser.