Jump to content
  • 0

gg.prompt help!


Harvid
 Share

Question

Actually, I can't think of any logic when user tap out prompt and user tap cancel button on prompt.

local value will always be nil ;-;

for example:

test = gg.prompt ({

[1] = "..." })

if test == nil then -- user tap out prompt

  print("menu hide")

  -- code menu hide

elseif -- how to know when user tap cancel button on prompt?

  main() -- back to main()

end

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • 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.