# Image Depth inside a container

**URL:** https://phaser.discourse.group/t/image-depth-inside-a-container/3690
**Category:** Phaser 3
**Created:** [September 10, 2019, 3:07am UTC](https://phaser.discourse.group/t/image-depth-inside-a-container/3690 "2019-09-10T03:07:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Marcos\_Thiago](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/marcos_thiago/32/1985_2.png) [@Marcos\_Thiago](https://phaser.discourse.group/u/Marcos_Thiago)
#### Post date: [September 10, 2019, 3:07am UTC](https://phaser.discourse.group/t/image-depth-inside-a-container/3690/1 "2019-09-10T03:07:56Z")

</div>

Hi , can i set a image depth inside a Container ? , i’m trying here but nothing happens…

---

<div class="post-metadata">

### Author: ![Jake.Caron](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/jake.caron/32/1841_2.png) [@Jake.Caron](https://phaser.discourse.group/u/Jake.Caron)
#### Post date: [September 10, 2019, 1:03pm UTC](https://phaser.discourse.group/t/image-depth-inside-a-container/3690/2 "2019-09-10T13:03:36Z")

</div>

Nope, setDepth and depth have no effect when inside of a container. Instead, you need to use `myContainer.bringToTop` and `myContainer.sendToBack`.

---

<div class="post-metadata">

### Author: ![Marcos\_Thiago](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/marcos_thiago/32/1985_2.png) [@Marcos\_Thiago](https://phaser.discourse.group/u/Marcos_Thiago)
#### Post date: [September 11, 2019, 12:09am UTC](https://phaser.discourse.group/t/image-depth-inside-a-container/3690/3 "2019-09-11T00:09:52Z")

</div>

> [@Jake.Caron](#):
>
> Nope, setDepth and depth have no effect when inside of a container. Instead, you need to use `myContainer.bringToTop` and `myContainer.s`

Tanks , i already gave up of using a container , because i’m build a isometric world , so no chance of losing the depth…
