# Sandbox.UI.Label.MoveToWordBoundaryLeft

```csharp
void MoveToWordBoundaryLeft(bool select)
```

Move the text caret to the closest word start or end to the left of current position.

This simulates holding Control key while pressing left arrow key.

### Parameters

- `select` (`bool`): Whether to also add the characters we passed by to the selection.

Declared in [Sandbox.UI.Label](/api/Sandbox.UI.Label).
Assembly: `Sandbox.Engine`.
