Z\_INDEX\_BUDGET
pixi-reels / index / Z_INDEX_BUDGET
Variable: Z_INDEX_BUDGET
const Z_INDEX_BUDGET: {
pinOverlay: 10000;
symbolLayer: 100;
};
Defined in: config/types.ts:751
The z-index values the engine reserves, so a SymbolZIndexResolver can be bounds-checked against the library instead of a copied literal.
| Layer | zIndex |
|---|---|
1x1 symbol, default (symbolData.zIndex 1) | 1 * symbolLayer + arrayIndex |
Big-symbol anchor, recipe convention (zIndex: 5) | 5 * symbolLayer + arrayIndex |
| Pin overlay (sticky / expanding wild during spin) | pinOverlay |
A symbol that must draw above pin overlays is re-parented to
viewport.spotlightContainer instead - that is its own layer above them.