Find color at UV on a RenderTarget

Hello there!

I’m trying to find a way to, in c++ or blueprint, make a function that takes a Vector2 coordinate and a RenderTarget and returns the color of that pixel. Thanks in advance!