Trace:GetEntityIndex(Trace)

shared
Get the index of the entity that was hit.

Argument

Returns

  • integer The index of the entity that was hit.

Examples

Trace:GetEntityIndex – Get the index of the entity that was hit.