What it does
sim.macro
Play back a macro of timed input events, replaying key, mouse, scroll, and pointer-lock actions in sequence. Accepts an inline event list, an input-macro asset handle, or the identity or path of a saved input-macro asset; playback runs as a background task that waits between events according to each event's timestamp. Each event is { t, op, arg } — t is seconds since the macro started (events are sorted on play), op is the action (keyDown, keyUp, mouseDown, mouseUp, mouseMove, scroll, lockPointer, tap, click), and arg matches the op. The same primitive drives a player, a car, or a UI test; author macros by hand or record them with sim.recordMacro and persist them with sim.saveMacro.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.