color of a pixel without use of mouseColor
Posted: Mon Oct 26, 2015 11:39 am
hello EveryBody
I have an interface with many objects inside (buttons, graphics, ...) in the background .some of these objects are moving alone depending random trajectories. I need to know the color of the pixel in a X,Y part of the interface.
I know the use of mouseColor who give us what color the mouse is over and the background of this interface is not an image (imagedata property is not usable)
I need to know the color of the interface under the four corners of a square . This square is controlled with the mouse and I need to compare the fours colors (one by corner) at each time I move the square with the mouse. I can't use the mouseColor function because the mouse is inside the square
If someone has a solution, I will be grateful
Thanks for help
fm31
I have an interface with many objects inside (buttons, graphics, ...) in the background .some of these objects are moving alone depending random trajectories. I need to know the color of the pixel in a X,Y part of the interface.
I know the use of mouseColor who give us what color the mouse is over and the background of this interface is not an image (imagedata property is not usable)
I need to know the color of the interface under the four corners of a square . This square is controlled with the mouse and I need to compare the fours colors (one by corner) at each time I move the square with the mouse. I can't use the mouseColor function because the mouse is inside the square
If someone has a solution, I will be grateful
Thanks for help
fm31