# LineElement

Class in [BasicBlock](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.basicblock)

Inherits from [`PlayerVisibleContentElement`](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.basicblock/yarn.compiler.basicblock.playervisiblecontentelement)

## Summary

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

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

## Fields

| Name                                                                                                                                                                          | Description                                                       |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [LineID](https://docs.yarnspinner.dev/2.2/api/csharp/yarn.compiler/yarn.compiler.basicblock/yarn.compiler.basicblock.lineelement/yarn.compiler.basicblock.lineelement.lineid) | The string table ID of the line that will be shown to the player. |
