Im without ideas how can make every created panel with his own identity - that mean when under one name from three created panels --> function execute only last created and others ignore all of this.
/////////////////////////////////////////////////////
Here some example code
/////////////////////////////////////////////////////
function radit
{
///this function is executed only after button pressing
mantu_pan = pan_create("bmap =abols.tga;",14,);
mantu_pan.on_click = parvietot_mani;
}

function parvietot_mani
{
while(mouse_left == 1)
{
mantu_pan.pos_x = mouse_pos.x;
mantu_pan.pos_y = mouse_pos.y;
wait(1);
}
}
/////////////////////////////////////////////
This is very short example but only to show that when here pressing on every panel let execute function only to last one created
*Please help any --> with this im fighting long time and cant solve.


Latvija rullē