# AttributesScope(IProperty, IProperty)

> Initializes a new instance of the AttributesScope struct assigns the given attributes to the specified target.

## Definition

* **Type:** Constructor
* **Namespace:** [Unity.Properties](/engine/6000.7/script-reference/unity/properties.md)
* **Assembly:** UnityEngine.PropertiesModule

```csharp
public AttributesScope(IProperty target, IProperty source)
```

### Parameters

**** (\[IProperty]\(/engine/6000.7/script-reference/unity/properties/iproperty)): The target to set the attributes for.**** (\[IProperty]\(/engine/6000.7/script-reference/unity/properties/iproperty)): The source to copy attributes from.
