Add External Code

Add External Code

The Add External Code window allows you to add Lua code into your project. When pressed, the following window appears:

Before layers, After layers, After buttons and actions and Disposal: defines where the block of code will be entered in your page.

Accessing Variable

Kwik4 ‘s global table is _K

local _K = require “Application”

Local variable made with Create Variable is stored in UI table.

``` UI.YOUR_VARIABLE = 1