---
title: "getAlignmentLinePosition"
description: "Returns the position of an [alignment line][AlignmentLine], or [Dp.Unspecified] if the line is
not provided."
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun SemanticsNodeInteraction.getAlignmentLinePosition(alignmentLine: AlignmentLine): Dp
```


Returns the position of an `alignment line`, or `Dp.Unspecified` if the line is
not provided.



