# Perspective Custom Container

**URL:** <https://forum.inductiveautomation.com/t/perspective-custom-container/40193>\
**Category:** Module Development\
**Created:** [November 1, 2020, 12:04am UTC](https://forum.inductiveautomation.com/t/perspective-custom-container/40193 "2020-11-01T00:04:07Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![Mats\_Sommervold](https://avatars.discourse-cdn.com/v4/letter/m/eb9ed0/32.png) [@Mats\_Sommervold](https://forum.inductiveautomation.com/u/Mats_Sommervold)\
**Post date:** [September 3, 2024, 1:21pm UTC](https://forum.inductiveautomation.com/t/perspective-custom-container/40193/21 "2024-09-03T13:21:55Z")

</div>

> [@Mats\_Sommervold](#):
>
> ```python
> if (window.hasOwnProperty("PerspectiveDesigner")) {
> InteractionRegistry.registerInteractionDelegates(new MyContainerComponentDesignDelegate())
> }
> 
> ```

Not sure if this is what you ment, but i register it in the interaction registry in on the client if the environment is the designer. You can import it from the `@inductiveautomation/perspective-designer` npm package:

```python
import {
    InteractionRegistry,
    ContainerDesignDelegate
} from "@inductiveautomation/perspective-designer";

```

[Previous page](https://forum.inductiveautomation.com/t/perspective-custom-container/40193.md?page=1)
