Skip to main content

Config

A module for configuring various aspects of the sandbox.

Properties

TrackInstances

This item is read only and cannot be modified. Read Only
Config.TrackInstances: boolean

Whether the sandbox should track Instances.

If this is enabled, the sandbox will keep track of all Instances that are created in the sandbox. It will also track all Instances that are accessed in the sandbox.

This will allow for forcible cleanup of Instances that are created in the sandbox, but it may cause performance issues if there are a lot of Instances being created.

TrackRBXScriptConnections

This item is read only and cannot be modified. Read Only
Config.TrackRBXScriptConnections: boolean

Whether the sandbox should track RBXScriptConnections.

If this is enabled, the sandbox will keep track of all RBXScriptConnections that are created in the sandbox. This will allow for forcible cleanup of RBXScriptConnections that are created in the sandbox, but it may cause performance issues if there are a lot of RBXScriptConnections being created.

Show raw api
{
    "functions": [],
    "properties": [
        {
            "name": "TrackInstances",
            "desc": "Whether the sandbox should track `Instance`s.\n\nIf this is enabled, the sandbox will keep track of all `Instance`s\nthat are created in the sandbox. It will also track all `Instance`s \nthat are accessed in the sandbox.\n\nThis will allow for forcible cleanup of `Instance`s that are created \nin the sandbox, but it may cause performance issues if there are a lot \nof `Instance`s being created.",
            "lua_type": "boolean",
            "readonly": true,
            "source": {
                "line": 43,
                "path": "src/Config.luau"
            }
        },
        {
            "name": "TrackRBXScriptConnections",
            "desc": "Whether the sandbox should track `RBXScriptConnection`s.\n\nIf this is enabled, the sandbox will keep track of all \n`RBXScriptConnection`s that are created in the sandbox.\nThis will allow for forcible cleanup of `RBXScriptConnection`s \nthat are created in the sandbox, but it may cause performance \nissues if there are a lot of `RBXScriptConnection`s being created.",
            "lua_type": "boolean",
            "readonly": true,
            "source": {
                "line": 58,
                "path": "src/Config.luau"
            }
        }
    ],
    "types": [],
    "name": "Config",
    "desc": "A module for configuring various aspects of the sandbox.",
    "source": {
        "line": 26,
        "path": "src/Config.luau"
    }
}