getIndex

abstract fun getIndex(): Int

Gets the index of the entity.