Make Actor Invisible

AppTapLLCAppTapLLC Member Posts: 10
edited November -1 in Tech Support
I want to make my actor invisible but when i click a on the screen, my actor is visible

Comments

  • PhoticsPhotics Member Posts: 4,172
    You can't change an actor's visibility after the game has started.

    You can set the alpha to zero, which is basically invisible, but that's not optimized.

    More information about GameSalad actor settings can be found in The Unofficial GameSalad Textbook.
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    change its alpha to 0
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    change its self color alpha to 0
  • AppTapLLCAppTapLLC Member Posts: 10
    no. in my game i want to make my actor visible when i click on the screen but i want it to stay invisible if im not touching the screen
  • PhoticsPhotics Member Posts: 4,172
    AppTapLLC said:
    no. in my game i want to make my actor visible when i click on the screen but i want it to stay invisible if im not touching the screen

    If mouse button is up, then change self.color.alpha to 0

    Otherwise, change self.color.alpha to 1
  • AppTapLLCAppTapLLC Member Posts: 10
    ill try it photics. thanks
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    yep just like photics said
  • AppTapLLCAppTapLLC Member Posts: 10
    thanks photics and john. it worked great!
Sign In or Register to comment.