LightDestroyOn this pageLight.Destroy(Object obj, number t = 0) Removes a GameObject, component or asset. Parameters: NameTypeDescriptionobjObjectThe object to destroy.tnumberThe optional amount of time to delay before destroying the object. Usage ---@type Objectlocal obj;---@type numberlocal t;Light:Destroy(obj, t)