# Toggle

> Creates a Toggle with no label.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Toggle()

Creates a [Toggle](/engine/6000.7/script-reference/unityengine/uielements/toggle.md) with no label.

```csharp
public Toggle()
```

## Toggle(string)

Creates a [Toggle](/engine/6000.7/script-reference/unityengine/uielements/toggle.md) with a Label and a default manipulator.

```csharp
public Toggle(string label)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The Label text.

### Remarks

The default manipulator makes it possible to activate the Toggle with a left mouse click.
