> For the complete documentation index, see [llms.txt](https://docs.avataar.ai/knowledge-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avataar.ai/knowledge-center/ide-low-code/ide-functions/add-image-to-the-scene.md).

# Add Image to the Scene

**addImagetoScene:** to add image to the scene (returns id of the image)

| assetName     | asset name          | required | string                 | Unit     |
| ------------- | ------------------- | -------- | ---------------------- | -------- |
| position      | default: \[0, 0, 0] | optional | \[float, float, float] | 3D Units |
| rotation      | default: \[0, 0, 0] | optional | \[float, float, float] | Radian   |
| scale         | default: \[1, 1, 1] | optional | \[float, float, float] | 3D Units |
| handleOnClick | OnClickFunction     | optional | -                      | -        |

```javascript
// var imageId1 = IDE.addImagetoScene({
    assetName: 'Sheen_Velvet_Cair.png',
    position: [0, 0, 0],
    rotation: [0, 0, 0],
    scale: [0.2, 0.2, 0.2],
    handleOnClick: handleClickFunction 
})

```

**removeImagefromScene:**

| id | id of image | required | string |
| -- | ----------- | -------- | ------ |

```javascript
// IDE.removeImagefromScene({
    id: imageId1
})

```
