Honestly speaking, I am trying to put this code, but finally I don’t know where to place this code,
Well you don’t want to change the render function. You only want to listen to mouse over event on your canvas to call the 3 lines of code (detach / attach) on the hovered canvas so that if the user clicks he/she will be on the right canvas
1 Like
I handled it!)
2 Likes
I knew you would ;D