Selection (Data Type)

Which of a player's origins on a layer a type reads or moves.

A string saying which of a player’s origins on one layer a type should look at. A player can hold more than one origin per layer once swapping is in play — a chosen origin, a swapped-in origin, and a pool of origins they may swap to — so anything that reads or moves an origin has to say which it means.

Values

ValueMeaning
mainThe origin the player chose on that layer. This is the default almost everywhere, and the only one that exists on a layer with no swapping.
activeThe origin the player is wearing right now — the swapped-in one, falling back to main when nothing is swapped in.
poolThe origins sitting in that layer’s swap pool, waiting to be swapped in. Not the one currently worn.
allAny of the three. For a read that means “matches if any of them does”; for a transfer it means every origin found, not just the first.

Used by

Example

{
  "type": "origins:origin",
  "origin": "origins:phantom",
  "selection": "active"
}

Passes while the player is actually wearing Phantom, whether that is their chosen origin or one they swapped in.

Left out, selection defaults to main on a normal layer and to pool on a swappable one — the reading that matches where that layer keeps its origins.