frameCount on animation?

Hi,

I came here from Processing and p5.js. Is there anything like “frameCount” in Three.js?

Thanks

Yes, the current frame number is stored in WebGLRenderer.info. The code looks like so:

console.log( renderer.info.render.frame );
2 Likes