Jump to content
  • 0

How to create floating table(button)


slaimmials

Question

3 answers to this question

Recommended Posts

Hi there is a template in the Class Reference

gg.showUiButton()
while true do
  if gg.isClickedUiButton() then
    -- do some action for click, menu for example
    local ret = gg.choice({ 'Item 1', 'Item 2', 'Item 3' }) or os.exit()
    gg.alert('You selected:', ret)
  end
  gg.sleep(100)
end
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.