Drag the ball (or other thing) around with the mouse. You can change the friction or the costume, and turn the ability to throw the ball on and off.
This is even laggier then it was with Scratch 2. Original notes and credits below. I made the basics of this a few months ago, and have been modifying it for a while. It is still pretty glitchy, so don't be surprised if Flash crashes.