Get pixel from the render target

Is it possible to somehow get the pixel color from the render target by x and y?

I need to do mouse detection considering the transparent pixels of the sprite. I plan to create a separate sprite completely repainted in some color and draw it in a render target.

I don’t understand why you want to use render target for this, but did you check this out?

1 Like

Thanks, I’ll look now.