# Viewers

The **Viewers** object is a collection of all currently open standalone [image viewers](../../../additional_functionality/viewing_images). It can be obtained via the [**DOpus**](dopus)**.viewers** property.

&#x20;

| Property Name      | Return Type                       | Description                                                                                |
| ------------------ | --------------------------------- | ------------------------------------------------------------------------------------------ |
| _\<default value>_ | _collection:_[**Viewer**](viewer) | Lets you enumerate the currently open viewers.                                             |
| lastactive         | _object:_[**Viewer**](viewer)     | Returns a [**Viewer**](viewer) object representing the most recently active viewer window. |

| Method Name | **Arguments** | Return Type | Description                                                                                                                                                                                                                                                                        |
| ----------- | ------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Update      | _none_        | _none_      | The first time a script accesses the **DOpus.viewers** property, a snapshot is taken of all currently open viewers. If anything opens or closes viewers after this, these changes will not be reflected by snapshot unless you re-synchronize it by calling the **Update** method. |
