Optimize cursor rendering

I am writing a CAD program using webgl.
I want to render the cursor using webgl.
Currently I will turn off the render loop and control the rendering timing independently.

Originally I used another canvas on threejs and set the canvas to transparent, then render the cursor on it.

This way, when the cursor moves, only the cursor canvas is rendered, and the main scene is not rendered. (Avoid rendering waste).

In babylon.js, how do I achieve this kind of operation?

Well technically, you can do it exactly the same way :slight_smile: