press

fun press(p: Point): Boolean
fun press(x: Int, y: Int): Boolean

Simulates the specified mouse button being pressed.

Return

Whether or not that button press has been successfully simulated.