function move_panel(PANEL* p) { while(mouse_left) //Only run while the left button is held { p.pos_x = mouse_pos.x; p.pos.y = mouse_pos.y; wait(1); } } PANEL* BLAH = { event = move_panel; }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de