updateRectangle

--Set the shape with id 1 (only rectangle) to a rectangle with width and height of 1 and 1 starting from (0,0)
--The first parameter 1 is the rectangle shape id
--The second and third parameters 0,0 are the starting coordinates of the rectangle
--The last two parameters 1,1 are the width and height of the rectangle
MapMark:updateRectangle(1,0,0,1,1)
--Display in the chat box
Chat:sendSystemMsg("The rectangle with id 1 is set to start at (0,0) with width and height of 1 and 1 respectively")