Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to lock an actor?

FungoEntertainmentFungoEntertainment Posts: 36Member
edited 12:06PM in Working with GS (Mac)
Hi. Is there a way to lock an actor, so when I click on it it doesn't respond as it would, for example spawn something etc? Please help. me, it would be appreciated!



  • PhoticsPhotics Posts: 4,172Member
    If touch is pressed


    Otherwise: Stuff you want it to do.
  • FungoEntertainmentFungoEntertainment Posts: 36Member
    Thanks, but that just isn't clear to me, Hehe.. I want to make an actor lockable and unlockable. I made a game where you purchase cannons. When you collect enough coins the tower becomes unlocked. If you spend the coins on sth else, it becomes locked. Get it?
  • PhoticsPhotics Posts: 4,172Member
    Create a game attribute

    Boolean: Locked

    If Locked = True
    Door closed
    Else: door open
This discussion has been closed.