Skip to content

Jump

Performs a transition to the scene

Parameters

NameTypeOptionalDescription
scenestringScene

Usage

ts
engine.script({
  start: [engine.action.jump("train")],
  train: [engine.action.showBackground("./train.jpeg")],
});

Released under the ISC License.