Caveats
CK Wiki - Notes
- Layers will automatically delete themselves if all variables and properties pointing at them are cleared.
- Once deleted, you can't call any more functions on the layer as it will be gone (and an error will print to the log).
Examples
; Deletes the layer, and then clears the variable that held it
myLayer.Delete()
myLayer = NoneAuto-Generated Example
myInputEnableLayer__toCallFunctionOn.Delete()Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
