Problem with scene.unregisterBeforeRender

Hello
I am experimenting with the code from this thread

can you please tell me why the solution offered in the thread is not working?

You should be able to pause or replay the light animation with a click of the mouse

Thank you

trying to understand what doesn’t work in this playground. when clicking on the canvas the animation stops, seems to work for me

2 Likes

Works for me too.

1 Like

Yes, after restarting Firefox it works for me too
Thank you for taking a look at it

2 Likes