title: Trigger event when text is clicked in Python Turtle
body: <p>I'm currently making a program in python's Turtle Graphics. Here is my code in case you need it</p>
  <pre><code>import turtle
  turtle.ht()
  
  width = 800
  height = 800
  turtle.screensize(width, height)
  
  ##Definitions
  def text(text, size, color, pos1, pos2):
       turtle.penup()
       turtle.goto(pos1, pos2)
       turtle.color(color)
       turtle.begin_fill()
       turtle.write(text, font=('Arial', size, 'normal'))
       turtle.end_fill()
  
  ##Screen
  turtle.bgcolor('purple')
  text('This is an example', 20, 'orange', 100, 100)
  
  
  turtle.done()
  </code></pre>
  <p>I want to have click events. So, where the text <code>'This is an example'</code> is wrote, I want to be able to click that and it prints something to the console or changes the background. How do I do this?</p>
  <p>I don't want to install anything like pygame, it has to be made in Turtle</p>