Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
writer PredictedWriter
ball Entity
launchFlightOptions LaunchFlightOptions

void

holdFlight(step, ball, { position: serveSpot });