Garry's Mod Wiki

properties.OnScreenClick

  properties.OnScreenClick( Vector eyepos, Vector eyevec )

Description

Checks if player hovers over any entities and open a properties menu for it.

Arguments

1 Vector eyepos
The eye pos of a player
2 Vector eyevec
The aim vector of a player