Countdown timer powerup

var time = 60 - World.seconds;
How do we code a power up (that adds time back to the countdown timer) if you touch it? We have the conditional if is touching but can’t quite get the adding time back to the countdown timer? Thank you!

@rlynch,

Welcome to the forum!

It would be helpful if you could share a link to your code so we can get a better understanding of exactly how it would work. Some of that depends on how you’ve coded the countdown timer, for example. World seconds can’t be modified, so you would probably have to create a different variable to track the time.

If you send a link and explain what you have tried, what you expect to happen, what happens instead, etc. Those things will help us to be more efficient in helping you.

Thanks!

Mike