Difference between revisions of "GetMouseHitEntity"

From Onset Developer Wiki
 
Line 16: Line 16:
  
 
{{RelatedFunctions}}
 
{{RelatedFunctions}}
{{Template:ClientFunctions}}
+
__EDIT_ME__

Latest revision as of 06:18, 4 December 2019

GetMouseHitEntity

Type: Function
Context: Client
Introduced: v1.0

Description

Get entity type and identifier the mouse pointer hits.

Syntax

GetMouseHitEntity()

Parameters

  • This function has no parameters.

Return Value

  • Returns the hit entity type HitType and entity identifier.

Example

local entityType, entityId = GetMouseHitEntity()

See also

__EDIT_ME__