# flags

> Flags that control how property is displayed (Read Only).

## Definition

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

> **Warning:**
>
> **Deprecated.** The 'flags' property is deprecated. Please use 'propertyFlags' instead.
>
> **Upgrade to** [MaterialProperty.propertyFlags](/engine/6000.6/script-reference/unityeditor/materialproperty/propertyflags.md)

```csharp
public MaterialProperty.PropFlags flags { get; }
```
