ヘルプを見たり、googleで調べてもよくわかりませんでした。
screen 0,640,480 screen 1,120,200 ;ツールボックス objsize 165,50 button "ペン",*pen button "画像を読み込み",*yomi button "色の変更",*iro *pen gsel 0 stick key,256 if key=256:color c1,c2,c3:line x,y,mousex,mousey x=mousex y=mousey await 1 goto *pen *yomi dialog "png",16,"実行ファイル" mes stat mes refstr picload refstr stop *iro dialog"",33:c1=ginfo_r:c2=ginfo_g:c3=ginfo_b goto *pen