composer.recycleAutomatically

Type Boolean
Library composer.*
Return value none
Revision Release 2022.3683
Keywords composer, scene, recycle, recycleAutomatically
See also composer.removeScene()

Overview

If this property is set to true (default), the scene used least recently will be automatically recycled if the OS issues a low memory warning. If you prefer to manage the recycling of scenes manually and disable the auto-recycling functionality, set this property to false.

Syntax

composer.recycleAutomatically

Example

-- Turn off auto-recycle on low memory warning
composer.recycleAutomatically = false