# Option find-ball Finds the ball ## State Machine ## State initial
If that state is active,
> | The basic behavior stand is executed.
The decision tree:
Pseudo code of the decision tree:
transition-to-state(search-hypothetical-ball);

## State search-hypothetical-ball

If that state is active,
> | The basic behavior go-to-point is executed. Parameters:
| go-to-point.x | = | ball.hypothetical.x ;
| go-to-point.y | = | ball.hypothetical.y ;
| go-to-point.destination-angle | = | ball.hypothetical.angle ;
| go-to-point.angle-remain | = | 10 ;
| go-to-point.max-speed | = | 350 ;
> | These output symbols are set:
| head-control-mode | = | head-control-mode.search-auto
The decision tree:
Pseudo code of the decision tree:
transition-to-state(search-hypothetical-ball);