Try Install Learn Blog API Packages GitHub
Pages
Standard Library

Search
Entities

AnimationFrame

Functions

cancel
(
id
:
Number
)
:
Number

Cancels a scheduled function call.

AnimationFrame.cancel(id)
request
(
function
:
Function(Number, a)
)
:
Number

Schedules the function to run on the next frame, and returns its ID.

id = AnimationFrame.request((timestamp : Number) { Debug.log("Hello") })