EntityObject:GetIndex cs2 Get the entity index Syntax EntityObject:GetIndex() → int Returns Returns int.