Parameters:- 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 current 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.