Get UV Offsets from a custom Mask/Color Map

Hi,

for example i have calculate a mask like this:

Now i wanna get the surrounded mask values. I already know how to do it with scene texture, but is there a way to get offset values from this “IF” Mask?

Thanks in advance