For a camera script, I store a reference to the object that the camera is following. When the focused object despawns, I want to automatically detach the camera from it. How can I check if an IWorldInstance has been destroyed? Or can I attach an event handler (still in JS) to fire when this object gets destroyed?