Skip to content

Condition Editor

Some actions use a condition editor to build a test:

Condition Editor

The dropdowns define the overall test context.

For example:

  • Find first item where all of the following are true.
  • Find first item where any of the following are false.

Use to add the conditions to test for.

For example to find an item greater than 1000 and less than 2000:

List Find Example

NOTE: The tests available depend on the data type being checked.

For example, for a GameObject variable, you can check the tag, name, parent, transform values, and null state:

List Find Enemy

GameObject Conditions

When an action uses a GameObject condition test, the first dropdown selects which GameObject property to check. The available properties include:

  • Name
  • Tag
  • Parent
  • Position
  • Position 2D
  • Rotation
  • Is Null
  • Is Not Null

The second dropdown depends on the property type. Common examples include:

  • Name supports checks such as Is, Contains, Starts With, and Ends With.
  • Tag lets you check whether the GameObject has a specific tag.
  • Parent lets you compare against another GameObject.
  • Position, Position 2D, and Rotation let you compare transform-related values.
  • Is Null and Is Not Null let you check whether the GameObject reference exists.

Example

To find an enemy target, you might combine conditions like:

  • Tag is Enemy
  • Name contains Boss
  • Is Not Null is true

You can then choose whether all conditions must pass, or whether any condition is enough.