GetMouseHitEntity: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue|Returns the hit entity type and entity identifier.}} | {{FuncReturnValue|Returns the hit entity type [[HitType]] and entity identifier.}} | ||
== Example == | == Example == | ||
Line 16: | Line 16: | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
__EDIT_ME__ |
Revision as of 05:18, 4 December 2019
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__