Functions hard to make it work in a loop

Hello I have a big problem to make the loop work as I want it to.
I would like here that every second, the location sensor updates the position and then allows you to make a loop: if then do

image

I wish that every second the location sensor captures the point where we are and depending on where we are, this triggers OR not the timer. As soon as we leave this zone the timer must stop.

Help me please.
Thanks

Can you share program for me?
I’ll help you.

Yes i do but it’s very novice…

https://x.thunkable.com/copy/41d5b1c257afe96b733006b823505a86

Avoid using similar names.
You have a timer component named “timer1” and a function named “timer1”.

I think it may not be possible to only need so many programs per second!