Mouse Click?
How can you code a mouse click in game for a certain position?
POINT position;
GetCursorPos(&position);
if(GetAsyncKeyState(VK_LEFT)<0){
if((position.x > boxminwidth) && (position.x < boxmaxwidth) && ( position.y > boxminheight) && ( position.y < boxmaxheight)) {
//ACTIONS HERE
}
}


