[Solved] DeltaTime on javascript

Hello, i was wonderign around the documentation and i could not find where to get the call "TimeDelta"anywhere.
The only way to get the TimeDelta is saving in a variable and then using that in the javascript?
Or there is an way to get it directly in the javascript snippet?

runtimeScene.getTimeManager().getElapsedTime()

2 Likes

Oh thanks! I tought that function were the amount of time total!

You can find more on the basic GDJS documentation.

1 Like