Sets all targets' velocities to the specified values. A positive x velocity is in the direction that the player is facing, while a positive y velocity is downward on the screen.
Required parameters:
Optional parameters:
- x = x_value (float)
Specifies the value to set to the x-velocity of the target.
- y = y_value (float)
Specifies the value to set to the y-velocity of the target.
- ID = target_id (int)
Specifies the desired target ID to affect. Only targets with this target ID will be affected. Defaults to -1 (affects all targets.)
Examples:
none