<pre class="lang-twig prettyprint-override"><code>{% set allEntries = entry.entriesSelector.all() %}

&lt;ul&gt;
    &lt;li&gt;First: {{ allEntries[0].title }}&lt;/li&gt;
    &lt;li&gt;Second: {{ allEntries[1].title }}&lt;/li&gt;
    &lt;li&gt;Fourth: {{ allEntries[3].title }}&lt;/li&gt;
    &lt;li&gt;Last: {{ allEntries|reverse[0].title }}&lt;/li&gt;
&lt;/ul&gt;
</code></pre>

CC BY-SA 4.0
2020-06-09T10:46:34.910Z
2020-06-09T11:37:29.753Z
2020-06-09T11:37:29.753Z
James Smith
<p>I have an entries field in a section, I am looking to output a certain selected entry from this field based on its position.</p>

<p>For example I want to out the 2nd or 3rd entry only from this entry field, what is the best way to do this without calling all the entries and looping through them all?</p>

<craft3><entries-field>
Output specific entry from entries field based on position
# Output specific entry from entries field based on position

(Asked by: username_0 on 2020-06-09)

I have an entries field in a section, I am looking to output a certain selected entry from this field based on its position.

For example I want to out the 2nd or 3rd entry only from this entry field, what is the best way to do this without calling all the entries and looping through them all?

**Tags:** craft3, entries-field

---

## 1 answers

### Answer by username_1 on 2020-06-09. Score: 3 | Accepted answer

{% set allEntries = entry.entriesSelector.all() %}


    First: {{ allEntries[0].title }}
    Second: {{ allEntries[1].title }}
    Fourth: {{ allEntries[3].title }}
    Last: {{ allEntries|reverse[0].title }}


---

