---
title: "FloatingToolbarExitDirection"
description: "The possible directions for a [HorizontalFloatingToolbar] or [VerticalFloatingToolbar], used to
determine the exit direction when a [FloatingToolbarScrollBehavior] is attached."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ExperimentalMaterial3ExpressiveApi
value class FloatingToolbarExitDirection
internal constructor(@Suppress("unused") private val value: Int)
```


The possible directions for a `HorizontalFloatingToolbar` or `VerticalFloatingToolbar`, used to
determine the exit direction when a `FloatingToolbarScrollBehavior` is attached.


## Companion Object

#### Properties

<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Bottom = FloatingToolbarExitDirection(0)
```


FloatingToolbar exits towards the bottom of the screen



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Top = FloatingToolbarExitDirection(1)
```


FloatingToolbar exits towards the top of the screen



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val Start = FloatingToolbarExitDirection(2)
```


FloatingToolbar exits towards the start of the screen



<div class='sourceset sourceset-common'>Common</div>


```kotlin
val End = FloatingToolbarExitDirection(3)
```


FloatingToolbar exits towards the end of the screen





