Docs

SubSystem

Base class of the systems each Scene runs: ActionSystem, AudioSystem, MeshSystem, PhysicsSystem, RenderSystem, and UISystem.

Properties

Type Name Default Languages
bool paused false C++ | Lua

While paused is true the system skips its update, so what it drives stops changing in that scene; the scene is still drawn. A paused AudioSystem also pauses the scene's playing sounds. In C++ the property is setPaused(bool) / isPaused().

Pausing Play in the editor sets it on the physics, action, and audio systems, and resuming clears it.

scene:getPhysicsSystem().paused = true
scene->getSystem<PhysicsSystem>()->setPaused(true);