findEntityByName ================ :doc:`/types/Script/index`::findEntityByName Returns the :doc:`/entity_component_system/entity/index` associated with the name. Declaration ----------- .. code-block:: cpp Entity findEntityByName(const std::string& name); Parameters ---------- .. list-table:: :width: 100% :header-rows: 1 :class: code-table * - Name - Type - Description * - name - const `std::string `_\& - The name of the Entity. Returns ------- The :doc:`/entity_component_system/entity/index` if the name is associated with an Entity, else, returns ``NTSHENGN_ENTITY_UNKNOWN``.