Is there any way to find a specific value inside an array?
This is very specific, I must tell surface object where, in another surface object, there's a pixel of the same RGB value, and its X and Y position.
In order to do this I saved all RGB values from both surface objects into arrays.
Each pixel has a unique RGB value, so, I only needed to be able to "call" the position of the other pixel in order to proceed.
Thanks a lot in advance.