The Check if Objects Overlap action tests to see if two objects are touching.

First Object

The first object to compare.

Compare To

Sets the type of comparison. Objects can be checked against a specific object, or against any number of objects that share a Tag. See Tags for more details on tags. Values are:

  • A Specific Object - Check First Object against another, specific object.
  • Any Object with a Tag - Check First Object against all of the objects in the scene with a particular tag.

Second Object

If “A Specific Object” is selected in the Compare To menu, this field specifies the other object to compare First Object to.

Tag

If “Any Object with a Tag” is selected in the Compare To menu, this field specifies the tag to use find objects to compare with First Object.

Action if overlapping

The Actions to run if two objects are detected to be touching.

Action if not overlapping

Actions to run if no overlap was detected.