# Sandbox.SerializedProperty.SetNullState

```csharp
void SetNullState(bool isnull)
```

If this is a nullable type, you can use this to toggle between it being null or the default value type

### Parameters

- `isnull` (`bool`)

Declared in [Sandbox.SerializedProperty](/api/Sandbox.SerializedProperty).
Assembly: `Sandbox.System`.
