useScene().launch(name) runs a second scene in parallel instead of replacing the current one, which is what a HUD or an overlay wants. The gameplay scene bounces a sprite while the launched HUD scene keeps a bar pinned on top.
All examples · Scenes