---
title: "Spray.Seed Property "
canonical: https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_Spray_Seed.htm
product: "Graphics Mill"
---

# Spray.Seed Property 
 
Gets or sets seed value for random generator.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public int Seed { get; set; }
```
 
### Property Value
Te seed for random generator. The default value is `0`.
 
## Remarks
 Set of random numbers is always the same for the same seed. So if you need to have the same result for multiple execution of this transform, specify some fixed seed. If you want to have different result each time you run this transform, set this property randomly (for example, from system clock or some other unpredictable value).
   
## See Also

### Reference

- [Spray Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Spray.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
