sfml.window.Event.MouseButtonPressed
See theMouseButtonPressed companion object
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
In this article