What does RunService.Heartbeat:Wait() do exactly?

I have a pretty okay understanding of RunService as a whole but I can’t seem to understand what RunService.Heartbeat:Wait() do? I’ve read the docs but didn’t find what I wanted. Just wondering if anyone could explain it to me, Thanks!

It yields the current thread until the next Heartbeat event fires which happens every frame after the physics simulation is finished.

Hmm, I understand now. Thanks a lot!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.