# SetActivePivotMode

> Sets the active pivot mode to the specified type.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

## SetActivePivotMode\<T>()

Sets the active pivot mode to the specified type.

```csharp
public static void SetActivePivotMode<T>() where T : CustomPivotMode
```

## SetActivePivotMode(Type)

Sets the active pivot mode to the specified type.

```csharp
public static void SetActivePivotMode(Type pivotModeType)
```

### Parameters

**** (\[Type]\(https\://learn.microsoft.com/dotnet/api/system.type)): The type of the pivot mode to set as active.
