---
title: "clearSelection Method"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.editor.clearselection.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# clearSelection Method

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
### Callable
 
- clearSelection( ) :  Promise &lt; void &gt;

- Deselects design elements on the current surface.
  
 - example
     - ```
    editor.clearSelection();
    ```

#### Returns Promise &lt; void &gt;
