Garry's Mod Wiki

Garry's Mod Wiki

  Entity properties.GetHovered( Vector pos, Vector aimVec )

Description

Returns an entity player is hovering over with their 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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...