# What is delta time

You can write your topic however you want, but you need to answer these questions:

1. What do you want to achieve? Keep it simple and clear!
What is delta time
2. What is the issue? Include screenshots / videos if possible!
I just want a clear explanation
3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yep no luck
3 Likes

The Roblox developer API is a great resource,
Delta time is mainly used in RunService

Delta-time is a measure of the difference between frame timings.

So if you were to have a RenderStepped function your delta-time would be equal to the time between the current frame and the previous frame. This is useful for calculations that are dependent on the clientâ€™s framerate.

Hope this helps!

I read it but I couldnâ€™t completely understand

deltatime means change in time. in this scenario it means how much time it took to go from the previous frame to the current frame.

Delta just means â€śthe difference betweenâ€ť. So delta time would refer to the amount of time thatâ€™s passed since some event. In the context of running code on every frame, for example, delta time refers to how much time has passed since the previous frame.

2 Likes

Based on my experience on using delta time on other coding languages, itâ€™s when you have something running on the same speed no matter the framerate. (I could be wrong though.)

1 Like