# Close Window

Closes the top-level window that contains the given element. A close command is sent to the window; to forcibly terminate the process, use **Kill Application**.


---

### :arrow_left:**INPUT**

| **Parameter** | **Type** | **Required** | **Description** |
|-----------|------|----------|-------------|
| `Element` | `UIElement` | ✅ Yes    | The window to close, or any element in the window. Its default value is `element`, so when dropped into the body of **Get Element**, it uses the element found. Throws an error if empty. If the element belongs to PAW Robot's own process, the window is not closed. |
| `IgnoreErrors` | `Boolean` | ❌ No     | If `True`, errors that occur while closing (including an empty element) are ignored. If left empty, `False`. |