One film, one number: path (-1 nobody chose yet, 0 forest, 1 city, 2 mountain). Every ending is a group of layers that is on only when path says so (alpha: 'step(0.5, 1 - abs(path - 1))'), so all three exist in the file and the picture shows one. The page stops the film at the fork, then movie.setVars({ path }) and plays on. Seek back before the fork and the choice is cleared. It is not a branching tree of clips: any ending is the same film with one number changed, so each can be rendered on its own: pixi-effects render ending.html --var path=2 --var jingle=riser -o mountain.mp4.