Vital.sandbox
Model

model.unload

Shared

Unloads a previously loaded model from memory


Syntax

local status = model.unload(name)

Parameters

TypeNameDescription
stringnameName of the model to unload

Returns

TypeNameDescription
boolstatustrue on successful execution, or false on failure

Examples

Unload a loaded model from memory
model.unload("character")

On this page