self.visible = true

I have an actor that starts with a visibility of false. Based on an event, I want to simply change the actor's visibility to true but it is not working? I using the change attribute self.visible to true.

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Instead of using self.Visible, use the self.Color.Alpha attribute. Simply change that to 0 or 1. The value of 0 will make the actor invisible, while the value of 1 will make it visible.

    Cheers
  • JSprojectJSproject Member Posts: 730
    That won't work in game. However, what you can do instead is to change self.color.alpha to 0 (to hide it) and 1 (to show it)
Sign In or Register to comment.