Toggle On/off

Discussion in 'How Can I...?' started by hugsnotthugs, Oct 1, 2020.

  1. hugsnotthugs

    hugsnotthugs Boxer

    Joined:
    Aug 3, 2020
    Messages:
    9
    Likes Received:
    0
    Apologies if this has been asked already, i've tried looking everywhere.

    Example. I have 2 buttons + 2 objects
    So.
    I want button 1 to make an object appear.
    then, If i press button 2, I want object 1 to disappear and object 2 to appear in its place.

    Is this a spawning thing?

    Thanks so much in advance.
     
  2. Leighton

    Leighton Avid Boxer

    Joined:
    Jan 31, 2018
    Messages:
    373
    Likes Received:
    182
    Yes you can use spawn on each button and remove the other object on pressing the opposite button.
     
    Hue Buildbox likes this.
  3. hugsnotthugs

    hugsnotthugs Boxer

    Joined:
    Aug 3, 2020
    Messages:
    9
    Likes Received:
    0
    Sorry im still lost.
    so button 1 nodes: "Is touched" ---> "Spawn"
    that all works fine
    but then how do you remove anything when the 'remove' node doesnt actually let you link from any other drop down field. They're in entirely different node screens and you cant even add an attribute with remove.

    thanks again!!
     

    Attached Files:

  4. Leighton

    Leighton Avid Boxer

    Joined:
    Jan 31, 2018
    Messages:
    373
    Likes Received:
    182
    Try using a Send Node to the other button :)
     
    hugsnotthugs likes this.

Share This Page