Sprite::whenMouseMoved()
Called when the mouse moves.
Examples
Syntax
Java
.whenMouseMoved(x, y)
Parameters
| Name | Data Type | Description |
|---|---|---|
| x | double | x of the mouse pointer (world) |
| y | double | y of the mouse pointer (world) |
Return
void
Called when the mouse moves.
.whenMouseMoved(x, y)
| Name | Data Type | Description |
|---|---|---|
| x | double | x of the mouse pointer (world) |
| y | double | y of the mouse pointer (world) |
void