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