> For the complete documentation index, see [llms.txt](https://docs.sansar.com/latest/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sansar.com/latest/script-api-docs/sansar-script-namespace/ievent-subscription.md).

# IEvent Subscription

### IEventSubscription Interface

Token representing an event subscription.

### Syntax

public interface **IEventSubscription**

### Member Details

#### Active Property

> Is this subscription is still listening for events.
>
> ### Syntax
>
> public [bool](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean) **Active** { get; }
>
> **Value**
>
> > Will return false if this subscription has been unsubscribed or is not persistent and an event has been generated.
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

#### Unsubscribe Method

> Removes this subscription.
>
> ### Syntax
>
> public [void](http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void) **Unsubscribe** ()
>
> ### Remarks
>
> ### Requirements
>
> **Namespace:** Sansar.Script\
> **Assembly:** Sansar.Script (in Sansar.Script.dll)\
> **Assembly Versions:** 1.0.0.0
>
> ***

***
