Help with rule needed

BasGoodboyBasGoodboy Member, PRO Posts: 310

Hey guys,

Is it possible to create a rule, that once clicked, it cannot be clicked again??

Like > when touch is on actor, it makes attribute X >> X+1

When another touch on actor, nothing happends.

Something like that..??

Goodboi Gamestudios | Monster Jumper now on the App Store

Comments

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,685

    Sure, just make a Boolean attribute call it pressed for example.

    Then when touch is pressed and pressed if false,

    change attribute pressed to true and what ever action you wanted to do just the once.

    Hope this helps @BasGoodboy‌

  • BasGoodboyBasGoodboy Member, PRO Posts: 310

    Thanks bro!

    Goodboi Gamestudios | Monster Jumper now on the App Store

Sign In or Register to comment.