[Solved] ReadPixels, works only if coord is on screen


I would like to read pixels color in my level map, but it works only if the coord of pixel is rendered on screen.

otherwise, it return 0.


Read pixels read the pixel in the game window.
There is no bug.

1 Like

Ah, got it. It’s a pity. Thanks