From 21b261332d8c0877b6979424868f9089fd7660b4 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Fri, 8 Jul 2022 22:33:37 +0200 Subject: [PATCH] Update Basalt.md --- docs/objects/Basalt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/objects/Basalt.md b/docs/objects/Basalt.md index 1289907..6011b53 100644 --- a/docs/objects/Basalt.md +++ b/docs/objects/Basalt.md @@ -118,7 +118,7 @@ Checks if the user is currently holding a key * Shows a debug message with true or false if the left ctrl key is down, as soon as you click on the button. ```lua local mainFrame = basalt.createFrame("myFirstFrame"):show() -local aButton = mainFrame:addButton("myButton"):setPosition(2,2):setText("Stop Basalt!"):show() +local aButton = mainFrame:addButton("myButton"):setPosition(2,2):setText("Check Ctrl"):show() aButton:onClick(function() basalt.debug(basalt.isKeyDown(keys.leftCtrl))