Question: # labels springLabel = Label ( ' Spring ' , 1 0 , 3 2 0 , fill = 'lightPink', size = 3 0 ,
# labels
springLabel LabelSpring fill'lightPink', size align'left'
summerLabel LabelSummer fill'forestGreen', size align'left'
fallLabel LabelFall fill'darkOrange', size align'right'
winterLabel LabelWinter fill'white', size align'right'
leaves Star fill'forestGreen', roundness
# tree trunk and limbs
Polygon fill'saddleBrown'
Polygon fill'saddleBrown'
Polygon fill'saddleBrown'
Polygon fill'saddleBrown'
Polygon fill'saddleBrown'
ground Polygon
visibleFalse
def onMousePressmouseX mouseY:
# If a label is clicked, make the color of the leaves match the color of
# that label. Change the leaves and ground visibility when needed.
### HINT: Use a shape method to check what label you clicked.
### Place Your Code Here ###
pass
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
