Drag the center of the block to make the block tilt with an angle.
As long as the center of gravity stay inside the surface area of the object on the ground,
the block will not fall out.  Because the torque will always turn it back.
However, if the center of gravity was outside the surface area, the block will fall out.!
You can also change width or height of the block with slider bars.

Virtual Physics laboratory Original URL

Fu-Kwun Hwang, Dept. Of Physics, National Taiwan Normal University.