# Javascript: Distances.right Property

> The right distance in twips.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 28.0
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: Distances.right Property
- **141 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/distances/right-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/distances/right-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/distances/right-property/llms-full.txt

---

### Description

The right distance in twips.

### Syntax

```javascript
<number> Distances.right
```

### Examples

The following example demonstrates `Distances.right` in a practical document-editing workflow. The right distance in twips.

```javascript
function inspectRight(distances) {
    const right = distances.right;
    console.log("right:", right);
}
```

---

## Nearby

- **Previous:** [Javascript: Distances.left Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/distances/left-property/llms-full.txt)
- **Next:** [Javascript: Distances.top Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/distances/top-property/llms-full.txt)
