Howdy, Stranger!

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

botton on button can someone please help?

SwaggedSwagged Posts: 50Member
edited 2:47AM in Working with GS (Mac)
i have a button that starts a level however i have another button on top that should prevent it from being clicked. its not working out and every time i click the top button the level starts anyway. how can i fix this???


  • old_kipperold_kipper Posts: 1,420Member
    use a game attribute boolean that sets the a rule that switches the second button on after the level starts or some similar condition. It's a bit dependant on what you want to do.


    Lord kipper GCSE french (failed)
  • SwaggedSwagged Posts: 50Member
    yea i cant get anything to work ive been at it for 2 hours :(
  • tenrdrmertenrdrmer Posts: 9,934Member, Sous Chef, Senior Sous-Chef
    When you touch the screen of click you everything all the way to the bottom is "touched"

    Im really understanding what you are doing but it sounds like you have a bottun covering a button. until the level starts. So have a boolean called touchallowed. In the button on top put a rule when alpha is 0 change game.touch alloweddd to true otherwise change game.touchallowed to false.

    now in your covered button add a condition to the touh is pressed rule. When attribute game.touchallowed is true

    It's not my fault I never learned to take responsibility for anything. ;)

This discussion has been closed.