MouseButtonPressed

sfml.window.Event.MouseButtonPressed
See theMouseButtonPressed companion object
final case class MouseButtonPressed(button: Button, position: Vector2[Int])

A mouse button was pressed

Value parameters

button

Code of the button that has been pressed.

Attributes

Companion
object

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product