making parent invisible but remain visible

conecone Posts: 18Member

I wanted to build an editor and wanted make selected node visible while other is made invisible ? how can i do that ?

Comments

  • DaveTheCoderDaveTheCoder Posts: 891Member
    edited August 2021

    You could set the parent's Self Modulate property to transparent (alpha channel == 0), assuming it's a CanvasItem.

  • TwistedTwiglegTwistedTwigleg Posts: 5,348Admin

    @DaveTheCoder said:
    You could set the parent's Self Modulate property to transparent (alpha channel == 0), assuming it's a CanvasItem.

    I've done this probably too many times :lol:
    I can confirm it works though and is a viable strategy if you want to make a parent CanvasItem invisible but keep it's children visible.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file