Welcome to Sketch Maker Pro, the first ever drawing project I have ever done! I know it's not the best and it has a few problems, like how you can't save your art, you can draw when you are picking a color from the color tray, and you can't change the size when drawing.
Press space to pick a color from the color tray, and start drawing!
hmmm....I could have sworn I saved the code that changes the costume from clicking on the color tray....It must be some weird glitch where it doesn't save or I must be having so much trouble with saving code- grrrr....now I have to redo the whole code that changes the color, how frustrating....
Reading your mind, I see that at some point in the past you understood what the problem is, because there's a loose GO TO BACK LAYER block in the color tray's scripting area. That needs to be in the startup script for that sprite, and -- it took me a while to understand this -- also in the startup script for the Sprite sprite, because otherwise that one is always right under the mouse and that's the one that gets the click.
What do You think of a color picker of arbitrary precision? Can be generated with sample script in "Color tray" or imported from any source.
There is a project
The color picker gets any color from the "Color tray" costume or any pixel on stage