# Hide or remove shape

1. Select the shape by `name` you want to modify. See [here](https://docs.powerpointgeneratorapi.com/knowledge-base/finding-shape-names) to find shape names.
2. Use `Remove` (boolean) to delete a shape from the slide
3. Use `is_hidden` (boolean) to hide the shape. Can be unhidden using PowerPoint GUI.

Reference: [shapes](https://docs.powerpointgeneratorapi.com/json-template-syntax/shapes "mention")

Download: [input.zip](https://drive.google.com/uc?export=download\&id=1QNjFvemIWDe3LR0RzkS-4GwvGUhlMkXn) | [output.pptx](https://drive.google.com/uc?export=download\&id=1bUIaH65g-bdw_hpzVApAU8kJIG91n6fd)

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FsT4hZ5twGFw34Xu3GCsq%2Ftemplate.png?alt=media&#x26;token=04bc8fd0-7c7a-41a5-85ab-dec81779148a" alt=""><figcaption></figcaption></figure>

***

<figure><img src="https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FFuQilWffGb6OlW5jtrcQ%2Foutput.png?alt=media&#x26;token=498f3dfc-1340-488c-807d-e3a5da476159" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="58.33333333333333%" %}
{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "template.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Rectangle 1",
            "is_hidden": true
          },
          {
            "name": "Rectangle 5",
            "remove": true
          }
        ]
      }
    ]
  }
}

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}
