How can I make an actor invisible during the game?

Hi Guys,

If I want to make an Actor invisible during the game, can I change his attribute to false?
I tried with CHange Atribute behavior. But it didn't work.

ANy idea?

Thank
-Yadda

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    edited September 2013 Accepted Answer

    Hi @Yadda As @jamie_c said; and to add, you can't change the visibility attribute during runtime.

Answers

  • YaddaYadda PRO Posts: 18
    I forgot to mention that I tried to change the ColorAlpha to 0 and that worked.
    But I was wandering if there's a way to play with the visibility attribute ;-)
  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    The best way I've found is to turn the alpha to 0 like you mention. You can also change it's coordinates to something that is offscreen.
  • ChakkuChakku Member Posts: 1,513
    You also can't change the Movable attribute during runtime (although you can make a custom Boolean called Movable and have that turned on and off)
  • YaddaYadda PRO Posts: 18
    Thanks for the answers guys .. I just used the alpha .. Moving the object outside the scene wasn't working very well, cuz you cannot control it when it is outside.
Sign In or Register to comment.