---> Hide and Show actor HELP

ChipmunkGamesChipmunkGames Member Posts: 106
edited November -1 in Working with GS (Mac)
Hey guys, can you hide an actor and then make it re appear somewhere else? I know the 'destroy' behavior hides it, but then how can i make it move somewhere else and the re appear?

Comments

  • firemaplegamesfiremaplegames Member Posts: 3,211
    Turn the actor's alpha to 0 to hide it, then back to 1 to have it reappear.
  • ChipmunkGamesChipmunkGames Member Posts: 106
    thanks! That helps so much!
  • ChipmunkGamesChipmunkGames Member Posts: 106
    wait NOOOOOOOO how do i change the actors alpha!? I AM SO STUPID!
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    rule
    when touch is pressed
    -change attribute self.color alpha to 0
    -move to whateverX , whateverY

    Rule when self.positionX = whateverX
    AND self.positionY = whateverY
    change attribute self.color alpha to 1
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Use the Change Attribute behavior.

    Change Attribute: self.Color.Alpha To: 0
  • ChipmunkGamesChipmunkGames Member Posts: 106
    thanks!
Sign In or Register to comment.