2. Paint Star = switch(Run, me+2, me+1) ; Draw on Run, move frame on Stop
3. UnFreeze = PixFreeze(0)
4. Get Mouse = M.(PixMouse(1, 0)), ; get mouse flag~LED(M), ; show button down on LED~Switch(M, me+1, 0) ; draw on mouse button down
5. Draw Shape = Switch(PixMouse(1, 1) and 2 , me+1, 0), ; rand color on right btn~x.(PixMouse(1, 5) - 20), ; get mouse to star center~y.(PixMouse(1, 6) - 20),~PixShape(X, Y, 40, 40, 9001,1) ; draw the shape~
6. Random Color = R.(ran*256), G.(ran*256), B.(ran*256), ; get color~PixPatternSet(0, rgb(r,g,b), 0), ; set fgnd color~PixShapeSet(1, 1, 1, rgb(r/2,g/2,b/2)) ; set outline color