How to unregisterBeforeRender?

I have a sphere which I can delete with the key “d” and recreate it with the key “c”

if I delete it the registration on BeforeRender is not stopped. The trail (which I not deleted for test reason) is still moving.

unregisterBeforeRender | Babylon.js Playground (

Something like this -


Great Labris :blush: Now I can continue on creating a demo of my examples in one scene. Thank you.

1 Like