---
title: "isSecondaryPressed"
description: "`true` when the secondary button (right mouse button) is pressed or `false` when it isn't
pressed."
type: "property"
---

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


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

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


```kotlin
expect val PointerButtons.isSecondaryPressed: Boolean
```


`true` when the secondary button (right mouse button) is pressed or `false` when it isn't
pressed.



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


```kotlin
actual val PointerButtons.isSecondaryPressed: Boolean
```


