How to read pixels form a UTexture?

oh wow, thanks! I didnt know i could simply cast it.