Owl Hub UI Library
  • Welcome
  • Loading the Library
  • Pages
  • Buttons
  • Sliders
  • Text Boxes
  • Keybinds
  • Color pickers
  • Dropdowns
Powered by GitBook
On this page

Was this helpful?

Buttons

This page will show you how to use buttons.

Toggle Button:

function ButtonPress(State)
print("Button was pressed")
end

Page1:newBtn("Toggle Button!", ButtonPress, false) -- false will indicate if it is a normal button.

Normal Button:

function ButtonPress(State)
print("Button was pressed")
end

Page1:newBtn("Normal Button!", ButtonPress, true) -- true will indicate if it is a normal button.
PreviousPagesNextSliders

Last updated 4 years ago

Was this helpful?