diff --git a/How-To.md b/How-To.md index 1c43a2a..c48bbcc 100644 --- a/How-To.md +++ b/How-To.md @@ -16,7 +16,7 @@ local basalt = dofile("basalt.lua") --Here you create a level0 frame (a frame without a parents) only frames can be shown without a parent. --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"):show() +local main = basalt.createFrame("mainFrame") main:show() local button = main:addButton("clickableButton")