Question about hanging

I am wondering that if I let my robot hang over the ledge of the play field with a large ball, but the ball contacts with the ledge. In other words, I am using the ledge to keep the large ball stationary inside my robot during hanging over. Is that a legal action?

If I’m understanding you correctly, by ledge you mean wall? If so, yeah that is legal.

A similar question was asked here.

Yes, it is considered hing hanging with a ball. In addition, even though the large ball is supporting your robot, you still receive the 20 high hang with a ball point.