StayComp:

The stay component.

stay: boolean

If the obj should not be destroyed on scene switch.

scenesToStay: string[]

Array of scenes that the obj will stay on.
kaplay logo

3001.0.0-alpha.18

Misc