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

```kotlin
@ExperimentalMaterial3XrApi
public class HorizontalOrbiterProperties(
    public val offset: Dp,
    public val offsetType: OrbiterOffsetType,
    public val position: ContentEdge.Horizontal,
    public val alignment: Alignment.Horizontal,
    public val shape: SpatialShape,
)
```

XR-specific properties for components that use horizontally-aligned [Orbiter](/jetpack-compose/androidx.xr.compose/compose/composable-functions/Orbiter)s.

These properties should be provided via a `CompositionLocal` for the given component.

The component should also define a publicly-visible default instance of
[HorizontalOrbiterProperties](/jetpack-compose/androidx.xr.compose.material3/material3/classes/HorizontalOrbiterProperties) and use it if the `CompositionLocal` is not set.

## Functions

<h2 id="copy-offset-offsettype-position-alignment-shape">copy</h2>

```kotlin
public fun copy(
        offset: Dp? = null,
        offsetType: OrbiterOffsetType? = null,
        position: ContentEdge.Horizontal? = null,
        alignment: Alignment.Horizontal? = null,
        shape: SpatialShape? = null,
    ): HorizontalOrbiterProperties
```

Returns a new [HorizontalOrbiterProperties](/jetpack-compose/androidx.xr.compose.material3/material3/classes/HorizontalOrbiterProperties) with one or more properties changed.

If `null` is provided for any value, the existing value will be used.