> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.3/api/csharp/yarn.compiler/yarn.compiler.basicblock/yarn.compiler.basicblock.lineelement.md).

# LineElement

Class in [BasicBlock](/2.3/api/csharp/yarn.compiler/yarn.compiler.basicblock.md)

Inherits from [`PlayerVisibleContentElement`](/2.3/api/csharp/yarn.compiler/yarn.compiler.basicblock/yarn.compiler.basicblock.playervisiblecontentelement.md)

## Summary

A line of dialogue that should be shown to the player.

```csharp
public class LineElement : PlayerVisibleContentElement
```

## Fields

| Name                                                                                                                                                 | Description                                                       |
| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [LineID](/2.3/api/csharp/yarn.compiler/yarn.compiler.basicblock/yarn.compiler.basicblock.lineelement/yarn.compiler.basicblock.lineelement.lineid.md) | The string table ID of the line that will be shown to the player. |
