function Main() { level_load("prjectd.wmb"); wait(1);
mouse_mode = 1; // enable engine mouse mouse_range = 20000; // Range within click, touch, or release events of // entities can be triggered by the mouse (default // 1000 quants. Copied from the Menu ;)
while(1) { mouse_pos.x = mouse_cursor.x; // keep the mouse pointer synchronize mouse_pos.y = mouse_cursor.y; // with the engine mouse.
wait(1); } }
Re: Clicking on 3d objects?
[Re: vlau]
#143164 07/24/0716:2307/24/0716:23