Garry's Mod Wiki

Player:GetUseEntity

Entity Player:GetUseEntity()

Just Added

This was just added in the latest version (2020.06.24). It might only be available on the Dev Branch right now.

Description

Returns the entity the player would use if they would press their +use keybind.

Returns

1 Entity ent
The entity that would be used, or NULL

Page Links


Special Pages


Wikis

?

Render Time: 23ms

DB GetPage 3
Generate Html 2
SaveChanges (1) 9
Render Body 0
Render Sidebar 6