Read Y offset value of a Texture

Hi

I need to read the Y offset value off an animated texture. Once this value is reached I plan to call a function. It is easy enough to animate the texture, I just can’t seem to read it. I would need it as a float.

Any help would be appreciated
Thanks

Use:

renderer.material.GetTextureOffset(“_Maintext”);

to get the Vector2 that is the offset of the material.
I don’t know if you can fill in a .y between TextureOffset and ("_Main …