# Issue with interactive containers

**URL:** <https://phaser.discourse.group/t/issue-with-interactive-containers/13682>\
**Category:** Phaser 3\
**Created:** [October 31, 2023, 8:13am UTC](https://phaser.discourse.group/t/issue-with-interactive-containers/13682 "2023-10-31T08:13:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrispy](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@chrispy](https://phaser.discourse.group/u/chrispy)\
**Post date:** [October 31, 2023, 8:13am UTC](https://phaser.discourse.group/t/issue-with-interactive-containers/13682/1 "2023-10-31T08:13:30Z")

</div>

Hi, I’m having an issue with the size hitbox of my interactive containers not updating when I update the size of the container. It works when I’m scaling the container (setScale) but not resizing it (setSize). Any hints as how I can force it to update?

Thanks in advance  
C

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [October 31, 2023, 8:08pm UTC](https://phaser.discourse.group/t/issue-with-interactive-containers/13682/2 "2023-10-31T20:08:28Z")

</div>

I think that’s the intended behavior. You can do

```js
container.input.hitArea.setSize(w, h)

```

---

<div class="post-metadata">

**Author:** ![chrispy](https://avatars.discourse-cdn.com/v4/letter/c/c2a13f/32.png) [@chrispy](https://phaser.discourse.group/u/chrispy)\
**Post date:** [November 1, 2023, 5:42am UTC](https://phaser.discourse.group/t/issue-with-interactive-containers/13682/3 "2023-11-01T05:42:34Z")

</div>

Hi Samme,

Worked perfect, thank you so much!

/C
