[android-components](../../index.md) / [mozilla.components.browser.engine.gecko](../index.md) / [GeckoEngineView](index.md) / [clearSelection](./clear-selection.md)

# clearSelection

`fun clearSelection(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/engine-gecko-nightly/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngineView.kt#L175)

Overrides [EngineView.clearSelection](../../mozilla.components.concept.engine/-engine-view/clear-selection.md)

Clears the current selection if possible.

