Developers / How to: conditions

How to: conditions

With conditions, you can postpone step's activation. For example, you may want to wait until a certain element appears before launching a walkthrough.

By default, this option is enabled for walkthroughs and disabled for launchers.

Type: Element

You can specify a selector for the value. When enabled, the player will wait for the element to appear before launching the content. When no element is specified, the player will use the assign step element.

Type: Function

If enabled, the player will execute the function and if the function returns true it will display the step.

Example function: my_object.my_property

When using the this format, Inline Manual Player will look for my_object in global namespace and then try to execute its my_property as a function: