From 17d8f491512e765b92b45d86caec0ac206228f5e Mon Sep 17 00:00:00 2001 From: "Jill \"oatmealine\" Monoids" Date: Fri, 23 Sep 2022 23:05:41 +0300 Subject: [PATCH] add resetActor as an alias for reset --- main.xml | 1 + typings.lua | 1 + 2 files changed, 2 insertions(+) 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.