Use a variable and if-statements to select a shape.