# move_bounce_rectangle

move_bounce_rectangle(x1,y1,x2,y2)
Makes the calling instance reverse direction if it is colliding with the boundary of a given rectangle.
COPY/// move_bounce_rectangle(x1,y1,x2,y2)
//
//  Makes the calling instance reverse direction if it is colliding with
//  the boundary of a given rectangle. Meant to keep an instance inside an
//  area. Swap the corners to bounce against the outside of a rectangle.
//
//      x1,y1       upper left corner of bounding rectangle, real
//      x2,y2       lower right corner of bounding rectangle, real
//