Adjust your rounded random scripts that it will provide a margin so
your heart does not go off stage. Remember, your heart has width and a
registration in the center so will need adjustment on all sides. This
means you may have to limit your random number so the head displays no
lower then 25 pixels on the left, and 25 pixels from the border on the
right. You will need to adjust the _Y random number also.
Examine the script below. What size is the symbol when it has a center
registration point, and uses this script to place the heart all over the stage
without cuttin it off?