# ISparkle interface

Namespace: [Grasshopper2.UI.Sparkles](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.sparkles.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public interface ISparkle
```

A Ui sparkle element.

**Derived types:** [BlastSparkle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sparkles.blastsparkle.md), [EdgeSparkle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sparkles.edgesparkle.md), [FaceSparkle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sparkles.facesparkle.md), [NoticeSparkle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sparkles.noticesparkle.md)

## Properties

- [Sparkling](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sparkles.isparkle/sparkling.md): Gets whether this sparkle is still busy sparkling. If this property returns false, the sparkle will be removed from whatever control was hosting it.

## Methods

- [Draw](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.sparkles.isparkle/draw.md): Draw this sparkle to a graphics context.
