diff --git a/main.xml b/main.xml index 37bc5d9..bebdb60 100644 --- a/main.xml +++ b/main.xml @@ -218,6 +218,7 @@ end end end + resetActor = reset -- runs once during ScreenReadyCommand, before the user code is loaded -- hides various actors that are placed by the theme diff --git a/typings.lua b/typings.lua index 3262d59..73cfe75 100644 --- a/typings.lua +++ b/typings.lua @@ -54,6 +54,7 @@ function Shader(frag, vert) end ---@param actor Actor --- Resets an actor to its initial state function reset(actor) end +resetActor = reset ---@type number --- A simple timer. Ticks upwards at a rate of 1/sec.