Back to Documentation
Tag Operations Node

Lock by Query

Add a lock tag to all entities matching a query

Inputs

querystringrequired

Tag to match entities (e.g. reel:1, symbol:wild).

lockTagstring

Tag to set for locked state (reel spin / H&W skip locked).

Default: state:locked

Outputs

lockedCountnumber

Number of entities that were tagged

Overview

Finds all entities with the query tag and sets lockTag on each. Locked positions are skipped by reel spin and H&W respin (symbols persist). Use to lock by reel, row, or symbol (e.g. lock all wilds, or reels 1 and 5).

Usage example

Lock by Query:
  query: "symbol:wild"
  lockTag: "state:locked"
// All positions with a wild are now locked