# SceneScript Event destroy
This event function will be called just before the object it is attached to gets destroyed.
export function destroy() {
}
Wallpaper Engine - Designer Documentation This event function will be called just before the object it is attached to gets destroyed.
export function destroy() {
}