// SelectEntityAtPos
Entity SELECT_ENTITY_AT_POS(float fracX, float fracY, int hitFlags, BOOL precise);
Parameters:- fracX:
Mouse cursor X fraction.
- fracY:
Mouse cursor Y fraction.
- hitFlags:
A bit mask of entity types to match.
- precise:
Whether to do a precise test, i.e. of visual coordinates, too.
Returns: An entity handle, or zero.
Gets the selected entity at the specified mouse cursor position, and changes the current selection depth. This function supports SDK infrastructure and is not intended to be used directly from your code.