MouseButtonPressed

sfml.window.Event.MouseButtonPressed
See theMouseButtonPressed companion object
final case class MouseButtonPressed(button: Button, x: Int, y: Int)

A mouse button was pressed

Value parameters

button

Code of the button that has been pressed.

x

X position of the mouse pointer, relative to the left of the owner window.

y

Y position of the mouse pointer, relative to the top of the owner window.

Attributes

Companion
object

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product