[android-components](../../../index.md) / [mozilla.components.browser.menu](../../index.md) / [BrowserMenuHighlight](../index.md) / [LowPriority](index.md) / [asEffect](./as-effect.md)

# asEffect

`fun asEffect(context: <ERROR CLASS>): `[`LowPriorityHighlightEffect`](../../../mozilla.components.concept.menu.candidate/-low-priority-highlight-effect/index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/menu/src/main/java/mozilla/components/browser/menu/BrowserMenuHighlight.kt#L44)

Overrides [BrowserMenuHighlight.asEffect](../as-effect.md)

Converts the highlight into a corresponding [MenuEffect](../../../mozilla.components.concept.menu.candidate/-menu-effect.md) from concept-menu.

