Help with if statement URGENT

The question is can I run Two if statements simultaneously
so that the arduino can check both of them in the loop at the same time
because one of them i need to be checked through the sketch even if the other has started working
is it possible to check both conditions at the same time ????
Please answer me quick
I'm a beginner so bear with me
ps: The two if statements are completely separate and they both do different things
they are not connected in any way not coding not the same conditions and not the same code to execute after the condition has been met
Thanks

The question is can I run Two if statements simultaneously

The answer is no.

You can not do ANY two things simultaneously. You can do them one after the other, so quickly that it seems simultaneous, but that's only because you aren't playing close enough attention.

Checking the if statements is probably NOT the problem. I'm guessing that the problem is with what happens when the statements evaluate to true. I'm guessing that you have a bunch of blocking code that gets executed if the statement(s) evaluate to true.

i need one of them at least to be always checked even after the other starts working

Why do you think adding "URGENT" in the subject line will be helpful? It may be urgent to YOU, but certainly not to anyone else on the forum. To the rest of us, seeing that is simply an annoyance. I guarantee that it will not motivate people to help you. In fact, it could have the opposite effect.

Maybe using interrupts will help do what you want.

Please give us an example of what you want to do. Have you any code that nearly does what you want ?

Maybe this will help to understand how you can do multiple things at the same time.

gfvalvo:
Why do you think adding "URGENT" in the subject line will be helpful? It may be urgent to YOU, but certainly not to anyone else on the forum. To the rest of us, seeing that is simply an annoyance. I guarantee that it will not motivate people to help you. In fact, it could have the opposite effect.

Again, that link is: https://www.youtube.com/watch?v=JA6id4--BDg&start=75