10 taps on a button, show interstitial ads

How to do every 10 taps on a button, show interstitial ads?
I hope you understand what I mean.

Thank you in advance!

1 Like

Make a Global Variable and increase its value by 1 each time user press on a button. Use the math block to increase it by 1 add a if block and check if the global variable is 10 each time user press on the Button. When it’s 10 show the ad and set the variable Back to 1

3 Likes

What block I should use to increase it by 1?
Can you show me an example? Please

2 Likes

Try this

4 Likes

Working good.
Thank you!

2 Likes

Side note, This make it 11 clicks when you set it to 0

Set it to 1 for 10 clicks, or change the comparison to 9

image

4 Likes

Yeah you are right.
Thanks

2 Likes

Since this topic is already marked Solved…

I just want to say Your Profile Image is Really Cool. The best Creative way I’ve seen someone use it. The earth rotating :exploding_head:

3 Likes

Everyone has stared to using GIF profile pictures anymore :sunglasses:

2 Likes

@yusufcihan Updated community? :shushing_face::joy:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.