Lights the blocks in turns

What I want to do is light up a block every 5 seconds
Thank you in advance for your help

What do you meaning of light block ?

What you want to do is change the color of the block every 5 seconds and get it back to normal?

Yes buddy :slightly_smiling_face:
How to make?

I mean
My goal is to turn another block from red to green after 5 seconds after making the red block green.
Thanks :slightly_smiling_face:

1 Like

Simply use clock component. Set time interval to 5000 and when clock timer then check bg color if red set it to green else to red

1 Like

Can you show your blocks?
Thanks :slightly_smiling_face:

Can anyone help?


I think it should be something like this

  • What should I set the clock timer to?
  • I want it done when the button is clicked

It might make sense to create a procedure. For example, clicking button 1 will first change the color from red to white. then after 5 seconds you call the procedure and make the white red again. The content of the procedure must be installed with the time settings. The rest depends on your research and effort my friend. think creatively!

Can you show what you’re talking about with blocks? I’m sorry I’m new at this.
Thanks :smiling_face: