<h2 id="clearandsetsemantics-properties">clearAndSetSemantics</h2>

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public fun RemoteModifier.clearAndSetSemantics(
    properties: SemanticsPropertyReceiver.() -> Unit
): RemoteModifier
```

Clears the semantics of all descendants and sets new semantics.

#### Parameters

| | |
| --- | --- |
| properties | A lambda to configure the semantics. |