From 56db961f74681b57a30744e003c50c0f91c8d3c0 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Sun, 8 May 2022 11:31:21 +0200 Subject: [PATCH] Updated How To (markdown) --- How-To.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/How-To.md b/How-To.md index 5db055b..788d034 100644 --- a/How-To.md +++ b/How-To.md @@ -14,7 +14,7 @@ Here is a simple example of how you would create a simple button on the screen: --Here you load the basalt framework into your file: local basalt = dofile("basalt.lua") ---Here you create a level0 frame (a frame without a parent) only frames can be shown without a parent. +--Here you create a non-parent frame. The basalt.update/autoUpdate events will always give their events to a non-parent frame! Which means you always need atleast one active non-parent frame! --As variable you have to use a unique name - otherwise you wont get a frame object back. :show() immediatly shows the object on the screen local main = basalt.createFrame("mainFrame") main:show()