Desynchronize position when change browser tab

Hi i need help, when i in the game tab in a brower run ok but i change to other tab 2 or 3 seconds the movement of the yellow cube desyncronize
Follow demon sync | Babylon.js Playground (

Not sure if I catch you, but are you trying to make something like this?
Changes are around line 118.
As chrome is keeping unactive tabs away from getting cpu source, scene will not render every 16ms.You need to use animationRatio and deltatime together to simulate 60fps.


Hello @Abner_Corona just checking in, was your question answered?