# Sandbox.Input.GetGroupName

```csharp
static string GetGroupName(string action)
```

Finds the [Sandbox.InputAction.GroupName](/api/Sandbox.InputAction/GroupName) of the given action.

### Parameters

- `action` (`string`): Action name to find the group name of.

### Returns

`string`

Declared in [Sandbox.Input](/api/Sandbox.Input).
Assembly: `Sandbox.Engine`.
