AcediaDocumentation

cache.invalidate

Removes an Instance's cached Lua reference.

Does not destroy the Instance or invalidate existing references held by scripts. A later engine lookup can create another reference.

cache.invalidate(target: Instance): ()

Parameters

ParameterTypeDescription
targetInstanceInstance whose mapping should be removed.

On this page