Skip to content

sceneUsesPhysics

sceneUsesPhysics(sceneData): boolean

Defined in: runtime/runtimeLoader.ts:254

True if any entity carries a physics component, or a TilemapLayer that may spawn colliders at runtime — either baked collidable tile ids (legacy scenes) or a .estileset reference, whose collision shapes derive live at load and are invisible to a component scan. A visual-only tileset costs one unused physics module load; missing real tile colliders would break the scene.

SceneData

boolean