Adding meshes. 1 mesh per frame

Hi, Friends. I want to add 1 mesh per frame. For example I catch event and now I want to spawn 10 cubes. 1 cube per frame. What is the best solution?

You can use this Coroutines | Babylon.js Documentation


Thanks, I will check it