resetSpeed(x, y)
Resets the speed and old position properties.
Parameters
Name | Type | Description |
---|---|---|
x | number | Sets the oldPosition.x value. |
y | number | Sets the oldPosition.y value. |
- Source code: input/Input.js (Line 673)
resetSpeed(x, y)
Resets the speed and old position properties.
Name | Type | Description |
---|---|---|
x | number | Sets the oldPosition.x value. |
y | number | Sets the oldPosition.y value. |
Please login to continue.