This action will draw a rectangle at a given position within the room. You give the top left position and the bottom right position and the rectangle will be drawn between them, and the position can either be an absolute position within the room, or a position relative to the instance calling the action. You can also set whether the rectangle can be filled or outlined by checking the fill box at the bottom.NOTE: This action is only for use in the various Draw Events, and will not draw anything if used elsewhere.
Argument Description Left The left position to start drawing from Top The top position to start drawing from Right The right position to end drawing from Bottom The bottom position to end drawing from
The above action block code draws two rectangles, one yellow and filled, and one black and outline only, at a position relative to the instance calling the actions.