Garry's Mod Wiki

Revision Difference

Player:GetUseEntity#527842

<function name="GetUseEntity" parent="Player" type="classfunc"> <description>Returns the entity the player would use if they would press their `+use` keybind.</description> <realm>Shared</realm> <added>2020.06.24</added>⤶ <rets> <ret name="ent" type="Entity">The entity that would be used, or NULL</ret>⤶ <ret name="ent" type="Entity">The entity that would be used or NULL.</ret>⤶ </rets> </function>