pixi-reels

API reference

Stacking

pixi-reels


pixi-reels / index / Stacking

type Stacking = "ascending" | "descending";

Defined in: config/types.ts:616

Render order along an axis.

  • 'ascending' (default). the cell / reel at the LARGER coordinate draws on top: the bottom cell in front of the top one, the last reel in front of the first.
  • 'descending'. the reverse.

Deliberately geometric, not travel-relative: flipping a reel’s direction never changes which symbol overlaps which. Art lit from above keeps reading correctly on a roll-up reel, and a per-spin reversal tease does not re-stack the strip mid-game.