SelectEntityAtCursor — FiveM Natives
0x3DD8130F · CFX · client
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.
Parameters
| Name | Type | Description |
|---|---|---|
| hitFlags | int | A bit mask of entity types to match. |
| precise | BOOL | Whether to do a *precise* test, i.e. of visual coordinates, too. |
Returns
Entity