<h2 id="scale">scale</h2>

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

```kotlin
public fun SubspaceModifier.scale(
    @FloatRange(from = 0.0, fromInclusive = false) scale: Float
): SubspaceModifier
```

Scale the contents of the composable by the scale factor along horizontal, vertical, and depth
axes. Scaling does not change the measured size of the composable content during layout. Measured
size of [SubspaceComposable](/jetpack-compose/androidx.xr.compose/compose/classes/SubspaceComposable) elements can be controlled using size Modifiers. Scale factor should
be a positive number.

#### Parameters

| | |
| --- | --- |
| scale | Multiplier to scale content along vertical, horizontal, depth axes. |