How can i always get the current colour of the pixel under an active object, whilst that object moves over different active objects?

Thanks.