---
title: "topRight"
description: "Returns the top right corner of the node we're interacting with, in the node's local coordinate
system, where (0, 0) is the top left corner of the node. Note that `topRight.x != width`, see
[right]."
type: "property"
---

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


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

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


> **Deprecated** Replaced by TouchInjectionScope. Use `performTouchInput` instead of `performGesture`

```kotlin
val GestureScope.topRight: Offset
```


Returns the top right corner of the node we're interacting with, in the node's local coordinate
system, where (0, 0) is the top left corner of the node. Note that `topRight.x != width`, see
`right`.



