* Sets the velocity of the Body. * @param x The horizontal velocity of the body, in pixels per second. Positive values move the body to the right, while negative values move it to the left. * @param y The vertical velocity of the body, in pixels per second.
(x: number, y?: number)
| 111437 | * @returns This Game Object. |
| 111438 | */ |
| 111439 | setVelocity(x: number, y?: number): this; |
| 111440 | /** |
| 111441 | * Sets the horizontal component of the body's velocity. |
| 111442 | * |
no outgoing calls
no test coverage detected