Enables access to an item container that was previously disabled, allowing usage by the player for storing and retrieving items.
enable_container(entity_id)
| Argument | Description | Type | Required | 
|---|---|---|---|
| entity_id | Entity ID of the container to enable. | String | Yes | 
You can use the complementary Disable Container function to disable an item container that is currently enabled.
enable_container("chest_01");
Results: The item container with an ID of “chest_01” will become accessible to the player.
Use the Enable Container function to enable (i.e. “unlock”) a treasure chest after a player obtains the appropriate means of accessing it, for example a key.