# BeginAnimatedCheck

> Creates a Property wrapper, useful for making regular GUI controls work with MaterialProperty.

## Definition

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

## BeginAnimatedCheck(Rect, MaterialProperty)

Creates a Property wrapper, useful for making regular GUI controls work with [MaterialProperty](/engine/6000.0/script-reference/unityeditor/materialproperty.md).

```csharp
public void BeginAnimatedCheck(Rect totalPosition, MaterialProperty prop)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): Rectangle on the screen to use for the control, including label if applicable.**** (\[MaterialProperty]\(/engine/6000.0/script-reference/unityeditor/materialproperty)): The MaterialProperty to use for the control.

### Remarks

BeginAnimatedCheck and EndAnimatedCheck automatically handle animated property color feedback and contextual menu.

Additional Resources: [MaterialEditor.EndAnimatedCheck](/engine/6000.0/script-reference/unityeditor/materialeditor/endanimatedcheck.md).

## BeginAnimatedCheck(MaterialProperty)

Creates a Property wrapper, useful for making regular GUI controls work with [MaterialProperty](/engine/6000.0/script-reference/unityeditor/materialproperty.md).

```csharp
public void BeginAnimatedCheck(MaterialProperty prop)
```

### Parameters

**** (\[MaterialProperty]\(/engine/6000.0/script-reference/unityeditor/materialproperty)): The MaterialProperty to use for the control.

### Remarks

BeginAnimatedCheck and EndAnimatedCheck automatically handle animated property color feedback and contextual menu.

Additional Resources: [MaterialEditor.EndAnimatedCheck](/engine/6000.0/script-reference/unityeditor/materialeditor/endanimatedcheck.md).
