Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

What are the pieces of code called that prevent multiple inputs due to lag?

Asked by
J_98482 18
5 years ago

I remember reading about these on developer.roblox.com, it was a sample of code that you could place into, for example, a clickdetector-type function. It would make it so that when a player clicked to update a value, it would make sure that only one input would be registered in case the player/server was experiencing lag. What are these called? I couldn't seem to re-find the article about them anywhere. Thanks in advance.

3
Debounce maybe? turtle2004 167 — 5y
0
You were right - debounce. Thanks for that J_98482 18 — 5y

Answer this question