# allowSceneObjects

> Allows scene objects to be assigned to the field.

## Definition

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

```csharp
[CreateProperty]
public bool allowSceneObjects { get; set; }
```
