Skip to content

pencil.js / navigation / back

Function: back() ​

ts
function back(): 
  | Scene<SceneOptions>
  | null;

Defined in: navigation.ts:39

Go back to the previous scene in history

Returns ​

| Scene<SceneOptions> | null

The displayed scene (or null if history is empty)

Released under the MIT License.