# Select

Retrieves the selected values of a given array.

```yaml
games:
  -
    feeling: love
    title: Dominion
    publisher: Rio Grande Games
  -
    feeling: love
    title: Netrunner
    publisher: Wizards of the Coast
  -
    feeling: hate
    title: Chutes and Ladders
    publisher: Unknown
```

::tabs

::tab antlers
```antlers
{{ games | select('title', 'publisher') }}
```
::tab blade
```blade
{{ Statamic::modify($games)->select(['title', 'published'])->fetch() }}
```
::

```yaml
-
    title: Dominion
    publisher: Rio Grande Games
-
    title: Netrunner
    publisher: Wizards of the Coast
-
    title: Chutes and Ladders
    publisher: Unknown
```
