# FrameSelectedWithLock

> The command name for the Frame Selected With Lock command, which centers the current view on the selection and keeps following it when the selection moves.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.UICommonModule

```csharp
public const string FrameSelectedWithLock = "FrameSelectedWithLock"
```
