holdFlight
holdFlight(
writer,ball,launchFlightOptions?):void
Holds ball, whose body has a flight, still at position, or where
its flight stands at the step’s tick: a ball in a server’s hands, on a
tee or back at the line after a point. Its next launchFlight sets it
going from there.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
PredictedWriter |
ball |
Entity |
launchFlightOptions |
LaunchFlightOptions |
Returns
Section titled “Returns”void
Example
Section titled “Example”holdFlight(step, ball, { position: serveSpot });