Question: Rect ( 1 6 5 , 9 0 , 7 0 , 4 0 , fill = 'saddleBrown' ) # hidden spill spill = Polygon
Rect fill'saddleBrown'
# hidden spill
spill Polygon
fillrgb visibleFalse
# liquid
liquid Polygon fillrgb
liquid.pressure
# bubbles
Circle fill'white', opacity
Circle fill'white', opacity
def onMousePressmouseX mouseY:
# Move the liquid's bottom up or down by pixels, based on its current
# position.
### Place Your Code Here ###
# Every mouse press, the pressure should increase. When it gets to
# the liquid should explode out of the flask.
### HINT: We defined a custom property and spill variable above that
# might be helpful.
### 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
