i have something like

Code:
***
if (key_q)
{
tempEnt = SearchBotForID(1);
vec_set(pos, tempEnt.x);
vec_to_screen(pos, camera);
mouse_cursor.x = pos.x;
mouse_cursor.y = pos.y;
}



but cursor just moves to needed position and moves back... how can i hold it in the required position?


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro