This type represents an entity handle.
You can also compare this type using a == operator.
==
Field
Type: number
Method
Returns the entity, or nil if nothing found.
nil
Arguments
None.
Returns
Type
Description
<type>
Entity instance.
Example
local ent = handle:Get();
Returns true if the handle is valid.
true
bool
true if valid.
Returns true if the handle links to a client-side entity.
true if client-sided.
Last updated 14 days ago
if handle:Valid() then -- ... end
if handle:IsClientSide() then -- ... end