- Dec 3, 2019
- 28
- 23
I just found out about this yesterday, so I know nothing about it.
I have 2 buttons on my screen, which I added with something like
screen blahblah():
vbox ..... spacing...
imagebutton:
action
imagebutton:
action
show screen blahblah
Ok, now I have 2 buttons on my screen, I can click on them and they will do their actions.
But I want to hide one of the imagebutton after clicking on it. is it possible? I can do this only by adding each of the buttons with their own screen.
And the second question. Is it possible to have a different action on the first click, second, third and so on? Or I'll have to hide the used button and put a new one , with a different action, in its place.
I have 2 buttons on my screen, which I added with something like
screen blahblah():
vbox ..... spacing...
imagebutton:
action
imagebutton:
action
show screen blahblah
Ok, now I have 2 buttons on my screen, I can click on them and they will do their actions.
But I want to hide one of the imagebutton after clicking on it. is it possible? I can do this only by adding each of the buttons with their own screen.
And the second question. Is it possible to have a different action on the first click, second, third and so on? Or I'll have to hide the used button and put a new one , with a different action, in its place.