Atomic docs

imgui.Button

imgui.Button(label: string, width: number?, height: number?): boolean

A button. Returns true on the frame it is clicked.

Example

lua
if imgui.Button("run", 120, 0) then
    print("pressed")
end
↑