Skip to main content

Control Flow Conditions

Condition Valid For

Condition Valid For

Condition Valid For is a container for Exit Conditions that should persist for a certain duration before changing the step.

PropertyFunction
Validation TimeDefine for how long (in sec.) the conditions should be valid before changing the step.
ProgressiveIf highlighted, the condition slowly resets its progress to 0 when the condition child is false.
[+]Add condition to the list.

Is Execution Mode Condition

Is Execution Mode Condition

Checks the current procedure execution mode.

PropertyFunction
ModeSelect the execution mode that you want to check.

On Previous

On Previous Condition

The On Previous condition checks if the Back button of the WEAVR UI is pressed, when in an OpS procedure.


Procedure Button Pressed

Previous Button Pressed Condition

The Procedure Button Pressed condition checks if a UI button of the procedure is pressed.

PropertyFunction
Button IDThe button that you want to check. The list contains all the buttons inside the button tab of the Procedure graph.

Procedure Button State

Procedure Button State Condition

The Procedure Button State condition checks the state of the selected button.

PropertyFunction
Button IDThe button that you want to check. The list contains all the buttons inside the button tab of the Procedure graph.
Is VisibleIf enabled, checks if the button is visible.
Is EnabledIf enabled, checks if the button is active.

Procedure Toggle State Changed

Procedure Toggle State Changed Condition

The Procedure Toggle State Changed condition checks if the state of the selected toggle is changed.

PropertyFunction
Toggle IDThe toggle that you want to check. The list contains all the toggle inside the button tab of the Procedure graph.

Procedure Toggle State

Procedure Toggle State Condition

The Procedure Toggle State condition checks if state of the selected toggle.

PropertyFunction
Toggle IDThe toggle that you want to check. The list contains all the toggle inside the button tab of the Procedure graph.
StateChecks if the state is On\Off
On Value ChangedIf enabled, the condition will be true at any value change of this toggle.

Event Raised

Event Raised Condition

The Event Raised condition checks if a specific event has been raised.

PropertyFunction
On EventThe event that you want to check. The list contains all the events inside the event tab of the Procedure graph.
From SourceIf enabled, allows to check events from components of the set object.

Player UI Component Changed

Player UI Component Changed

The Player UI Component Changed condition checks the state of a WEAVR Player UI component.

PropertyFunction
Component Game ObjectThe UI player component that you want to change state. Go to the Player tab in the Procedure Graph Toolbar to take a look at the components inside this list.
Is VisibleIf enabled, the UI component is visible.
Is InteractableIf enabled, the UI component is interactable.

Error Committed

Error Committed Condition

The Error Committed condition checks if the specified error is committed.

PropertyFunction
ModeThe execution mode
ErrorThe error to check.

Waiting Time

Waiting Time Condition

The Waiting Time condition checks that the specified amount of time has passed before proceeding to the next step of the procedure.

PropertyFunction
Time to waitAmount of time to wait