Garry's Mod Wiki

Tool:GetEnt

  Entity Tool:GetEnt( number id )

Description

Retrieves an Entity previously stored using Tool:SetObject.

Arguments

1 number id
The id of the object which was set in Tool:SetObject.

Returns

1 Entity
Associated Entity with given id.