disable button

uovokinderuovokinder Member Posts: 2
edited November -1 in Working with GS (Mac)
Hello guys! I'm new and I'm starting to create the draft of my game:)

I have a question that surely will be trivial, but I can not get out!

how do I disable a button (without destroying it)?

Thanks to all
congratulations to all staff!

Comments

  • RHRH Member Posts: 1,079
    What do you mean? That sometimes you can't click it but you can still see it?

    If so, use attributes.

    Create a boolean 'clickable'

    On the actor that you want to disable just make a rule that when the attribute 'clickable' is true and put the behaviours (or whatever you have on the actor) into that rule.

    This means that when something makes the attribute 'clickable' false, it won't do anything and will just display an image.

    I really don't know what you want to do so that was the best I could explain it.
  • uovokinderuovokinder Member Posts: 2
    you perfectly understand!
    thanks, I not thought of this solution!
    you rock!
Sign In or Register to comment.