This simple example illustrates how to bounce a circle around the stage, without using the "if on edge, bounce"-block, which has its drawbacks. In addition to the inherent drawbacks of the block, the math-approach allows you to bounce inside any rectangle, larger or smaller than the stage itself. Besides, it's not very complicated. See inside. All code by me (@kriblo).