Doubt using functions with delay in the loop

Hey arduiners!! Im using several functions in my loop, one of them consists in some actions, one after the other, until it reaches a delay.
I guess that when the loop calls it, the rest of the program stop until it finishes all the instructions, including the delay.
I would like to use some trick so that it doesnt have to stop the rest of the program while this function is doing his instructions (including his large delay).

thank u arduiners!

Start with this example: BlinkWithoutDelay

Then look at Using millis() for timing. A beginners guide and Several things at the same time

delay(...) is a problem. An approach based on millis() would help. You can NEVER do two things simultaneously but without the call to delay(...) the Arduino will probably be fast enough that being simultaneous won't matter.

If you need a tutorial on millis(), just ask. There are a couple that are frequently recommended.

ToddL1962:
Start with this example: BlinkWithoutDelay

I'll go. Thank u!

UKHeliBob:
Then look at Using millis() for timing. A beginners guide and Several things at the same time

Alright ill take a look thank u.

vaj4088:
delay(...) is a problem. An approach based on millis() would help. You can NEVER do two things simultaneously but without the call to delay(...) the Arduino will probably be fast enough that being simultaneous won't matter.

If you need a tutorial on millis(), just ask. There are a couple that are frequently recommended.

thank u so much