Function: NavigationOverlay()
NavigationOverlay(
options?:object):OverlayPlugin
Creates a navigation overlay plugin with prev scene, prev step, next step, next scene, and pointer toggle buttons.
Hover near the bottom to show controls with a mouse. Tap the bottom zone on touch. Swipe horizontally to navigate on touch.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | { triggerZone?: number; } | - |
options.triggerZone? | number | Height of the trigger zone at the bottom of the screen, in pixels. Defaults to 100. |
Returns
Example
stage.overlay(NavigationOverlay());