# GetLineIDsForNodes(IEnumerable\<string>)

Method in [YarnProject](https://docs.yarnspinner.dev/api/csharp/yarn.unity/yarn.unity.yarnproject)

## Summary

Returns a list of all line and option IDs within the requested nodes

```csharp
public IEnumerable<string> GetLineIDsForNodes(IEnumerable<string> nodes)
```

## Remarks

This is intended to be used either to precache multiple nodes worth of lines or for debugging

## Parameters

| Name                        | Description                                    |
| --------------------------- | ---------------------------------------------- |
| `IEnumerable<string>` nodes | the names of all nodes whos line IDs you covet |

## Returns

The ids of all lines and options in the requested `nodes`
