```python
def setup():
global s
# the file "bot.svg" must be in the data folder
# of the current sketch to load successfully
s = py5.load_shape("bot.svg")
def draw():
py5.background(204)
py5.shape(s, 10, 10, 80, 80) # draw shape
s.set_visible(py5.is_mouse_pressed)
if s.is_visible() == False: # or use: "if (!s.isVisible)"
py5.no_fill()
py5.rect(10, 10, 80, 80)
```