Skip to content

slidePush

slidePush(opts?): SceneTransition

Defined in: renderer/src/transitions/slidePush.ts:41

Slide both scenes off and on together: the incoming scene enters from one edge while the outgoing scene exits the opposite edge at the same pace, locked together as a single horizontal/vertical translation. Ideal for menu carousels, level-to-level book turns, or wizard flows.

Unlike a pure slideIn, this transition translates BOTH containers, giving the visual impression that the new scene is physically pushing the old one off the screen.

On pop, the direction is mirrored by default so that “back” reverses “forward” — opt out via reverseOnPop: false for explicit control.

SlidePushOptions = {}

SceneTransition