- Found in:
- Vanilla
Description
Wiki Description
Forcibly deletes this input enable layer immediately. Any script variables or properties looking at it will be invalidated, and of course any disables it may have held are cleared.
Documentation Comment
Force-deletes this input layer. Any variable pointing at this layer will become invalid
and it should also clear any disables this layer had (unless code, for some reason, is
keeping it alive).
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
