the easiest way to make a toggle button?

  1. 7 years ago

    Hi Everyone,
    I would like to make a toggle button. First click on object A: object B moves to the stage. Second Click on object A: object B moves off the stage. Right now, the only way I can see to solve this, is to have two buttons A1 (script1) and A2 (script2) and to change their visibility after the click. This works fine, but I would like to know, if there is a better/easier way to do that?

  2. 6 years ago

    Thanks for your questions I posted a similar one today
    Hopefully we get an answer

  3. Edited 6 years ago by Giuliana V

    https://forum.pubcoder.com/295-mostra-nascondi-oggetto#reply

    Maybe this can help... they suggest me to use two different interactive areas...

  4. I think the main problem is that you can't have more than one action on a single object.
    If you have object A and you want it to do different actions, you can't.

    It's a pity. They should upgrade the next release with this fundamental option.

 

or Sign Up to reply!