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()