Skip to main content

Getting started

A project starts at main.lua.

local traceless = require("traceless")
local enabled = traceless.ui.new_checkbox("LUA", "Example", "Enabled")

traceless.events.on("paint", function()
if traceless.ui.get(enabled) then
traceless.render.indicator(125, 210, 255, 255, "Lua is running")
end
end)

For local development, place the project in Traceless\scripts\example\main.lua, enable Developer mode on Config → Scripts, select example, and press Load.

Cloud scripts appear in the same Scripts page when the account owns an entitlement. More than one cloud script may be active at once.