Skip to content

Commit c55fab1

Browse files
Update eventContext.md
1 parent b4bdf37 commit c55fab1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/reference/game/eventContext.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ the EventContext object for the active scene.
1111
Manage the frame handlers for the scene and log the double the millisecond every 20 FPS.
1212
``` ts
1313
const millis = control.millis();
14+
// runs every frame at priority 20
1415
game.eventContext().registerFrameHandler(20, () => {
1516
const doubledMillis = millis * 2;
1617
console.log(doubledMillis);

0 commit comments

Comments
 (0)