properties.GetHovered

From Garry's Mod
Jump to: navigation, search
 properties.GetHovered( )

Contents

Description

Returns an entity player is hovering over with his cursor.

Arguments

Vector pos

Eye position of local player, Entity:EyePos

Arguments

Vector aimVec

Aim vector of local player, Player:GetAimVector

Returns

Entity

The hovered entity
Personal tools
Navigation