Listen to any change on canvas

Hi guys, I’m currently creating a project using three js. To summarize, it’s like a modeling tool which has to be collaborative. I’m using websocket and I can run two instance of the same model. I’m looking to find a way to listen to any change on the caneva in order to be able to replicate changes immediatly on the other instance. For now it work but only when I draw something or when I move something but I want it to be at anytime that there is a change.

Thank you in advance for your help.

Can you elaborate on what is a “caneva”?

The canvas has not some sort of update event. Meaning you have to track on application level when you render something on an instance’s canvas and then notify the other one.

1 Like

Thank you !