playModeOnly
playModeOnly():
boolean
Defined in: env.ts:40
Run condition for gameplay (simulation-advancing) systems: true outside an editor, or inside an editor only while play mode is active. In editor edit mode it returns false, freezing gameplay while render/transform/layout systems (which do not use this gate) keep ticking.
Returns
Section titled “Returns”boolean