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: 41ms

Session 0
DB GetPage 6
Generate Html 11
SaveChanges 8
Render Body 0
Render Sidebar 13