How do i manipulate textures?

Hello, how do I manipulate textures? I want to make something like a coloring game but generating tons of objects that change color when the pencil is here isn’t good! So how can I manipulate textures and gather data from them like how much red is on the canvas or blue?

hello and welcome @Tusi_1 !
you can use the read pixels Extention to read the colors red/green/blue

and there is this great example of a painting software:

I hope this helps

1 Like

Sure but if i move my canvas, then the color will disappear from my screen so the game will break.Not?

I don’t get it, why will the game break?

This is calculating the pixels on screen, so if I move away the canvas then it will break my game.

you can calculate just if the screen is within the boundaries this is the only way