Garry's Mod Wiki

properties.GetHovered

Entity properties.GetHovered( Vector pos, Vector aimVec )

Description

Returns an entity player is hovering over with his cursor.

Arguments

1 Vector pos
Eye position of local player, Entity:EyePos
2 Vector aimVec
Aim vector of local player, Player:GetAimVector

Returns

1 Entity
The hovered entity

Page Links


Special Pages


Wikis

?

Render Time: 72ms

DB GetPage 39
Generate Html 10
SaveChanges (1) 9
Render Body 0
Render Sidebar 12