Module mimic

Module mimic 

Source
Expand description

Mimic selectors for synchronized selection across multiple selectors.

Mimic selectors enable multiple selectors to select the same element in lockstep. This is essential for:

  • Nearby selection: Get the “origin” entity that was already selected
  • Coordinated moves: Ensure multiple parts of a move reference the same entity

§Architecture

Structs§

MimicRecorder
Handle for sharing mimic state between recording and replaying selectors.
MimicRecordingEntitySelector
An entity selector that records each selected entity for replay by other selectors.
MimicReplayingEntitySelector
An entity selector that replays the last entity recorded by a recording selector.