How to edit gumball rotation, position, alignment along object?

I want to align the gumball according to the direction of the extrusion of the selected obj, to have a proper scale. How can I do this? Thx!

If you click in the white circle on the Gumball, there is an ‘align to object’ choice but in a case like this where there are multiple surface normals in the polysrf selected, you’ll need to instead use RelocateGumball. Follow the prompts in the command line for repositioning the Gumball origin and axis directions. Alternately, you could make a new Cplane and use the Reset Gumball option with align to Cplane enabled.