I want some help

i made a energy bar and want 1 energy to fill every 10 min how to make, is it possible? To make it

Use clock timer

Btw, Show what you have tried

I deleted the block Cuz i wasn’t getting a energy per 10 minute it, can u tell me how to correctly use clock to get

Increase 10% every one minute. it will completely fill in 10 mins

I didn’t understand can u tell me on easy words

Use a clock timer. Set interval to 60,000. Set enabled to true.

When it fires: stop the clock by setting Enabled to false, increase the energy bar by 10%, then restart the clock.

2 Likes

I quit don’t understand how to get 1 energy per 10 min

I don’t know how to start, confused

Is it okay?

Set Clock Properties to :
Screenshot 2021-09-15 at 10.23.17 AM
Blocks
Screenshot 2021-09-15 at 10.22.45 AM

It will increase 10 per minute

1 Like

Thank u i will try doing it

1 Like

Thanks it worked, and thanks for teaching me smtg new

1 Like

Does the clock still be enabled when user is not using app, i mean even if user leaves using the app i want the energy bar to be filled up every 10 min

nope it will not work in background :x:

Any way to make it work in background?

2 Likes

I imported this extension

But don’t know how to implement it with clock

1 Like

You can ask the developer for help regarding this in his post.

1 Like