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..??

Comments

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,692

    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!

Sign In or Register to comment.