Builtin Library
README.md
runtime_participation
Reads and writes the RuntimeParticipation lifecycle axis for an entity, and answers the save / edit-liveness / play-liveness questions that follow from a mode. It is the one source of truth for the four modes — WorldEntity, PrototypeOnly, EditorOnly, RuntimeOnly — so save and play-mode code agree on what each mode means (which entities persist to the world, which are live in edit, and which are live in play).
Location: src/lua/lib/modules/api/engine/runtime_participation.module