FolioTier 1

return

Pop the call stack and resume the calling scene.

Parameters

This construct takes no arguments.

Canonical example

Folio
narrate "The cutscene ends. We're back where we started."
return
Ren'Py
"The cutscene ends. We're back where we started."
return

return ends a called scene and resumes the caller at the line after its call. Outside a called scene — at the top level of a start scene, for instance — return is a no-op the runtime warns about.

Notes

A scene that's only ever entered via call should end with return. A scene that branches to other scenes via jump or via choice options never needs an explicit return — control transfers through the routing instead.

If a called scene ends without a return (no terminating verb at all), the runtime treats fall-off-the-end as an implicit return and emits a warning. Authoring tools surface this so the creator can pick between an explicit return (the recommended fix) and an end (if the scene was meant to terminate the playthrough).

See also

  • call — push onto the call stack
  • end — terminate the playthrough entirely
  • scene-flow — full routing vocabulary