onClick

fun Modifier.onClick(onClick: () -> Unit): Modifier

Calls onClick when the left button is pressed and released over this node.