Property

isPrimaryPressed

Source set: Android
public val PointerButtons.isPrimaryPressed: Boolean
Source set: Common
public val PointerButtons.isPrimaryPressed: Boolean

true when the primary button (left mouse button) is pressed or false when it isn't pressed.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: