Back to Documentation
Tag Operations Node

TagQuery

Find all entities that have a specific tag

Inputs

tagstringrequired

Tag to search for

Outputs

entitiesstring[]

Array of entity IDs that have the tag

countnumber

Number of matching entities

Overview

Searches for all entities that have the specified tag. Useful for finding all locked positions, all disabled positions, etc.

Usage Examples

// Find all locked positions
TagQuery:
  tag: "locked:true"
// Returns: ["pos_0_0", "pos_1_2", "pos_3_1"]

// Find all disabled positions
TagQuery:
  tag: "disabled:true"
// Returns: ["pos_0_0", "pos_4_2"]