Weird behaviour with the output of a function

Unless you manually reset a variable, it’ll remain to what it used to be set to.

Also the function is running OnTick, not only during the overlap.
So its perfectly normal (and i think you know that) to get constant results.

Again, unless you are manually setting the value to null/something else, you should expect to see the same output.
Is that the case?

Show us more code (spaghetti mess rather) as its kind of hard to guess whats going on from 2 half pics and a description…

This is likely the key. But we’d need some full function code to see why it’s bypassing.

Also, just to make sure…
You do have something resetting values on end overlap - right?