title: Why while the sound is playing, other commands are not executed?
body: <p>I use <em><strong>playsound</strong></em> module.</p>
  <p>I'm creating a game in which you need to move the object on the screen with the mouse. When the user presses the left mouse button must play a certain sound.
  But when I press the left mouse button, the object stops moving while the sound is playing. And he starts moving only when the sound has finished playing.
  How do I make the object keep moving when the sound is playing?</p>
  <p>And the second problem is that if you press the left mouse button many times, the number of repetitions of the sound accumulates, and the sound plays as many times as the left mouse button was pressed. I need to make the sound play only once, even if the left mouse button was pressed again while playing the sound.</p>
  <p>This is my code:</p>
  <pre><code>    import time
      from playsound import playsound
      
      window=Tk()
      window.title('game')
      window.resizable(0,0)
      window.wm_attributes('-topmost',1)
  
      canvas=Canvas(window, width=700, height=700, bd=0, highlightthickness=0)
      canvas.pack()
  
      sergiy=PhotoImage(file='C:\\sergiy_exe\\sergiy.png')
      ivan=PhotoImage(file='C:\\sergiy_exe\\ivan.png')
      canvas.create_image(30,30,anchor=NW,image=sergiy)
      canvas.create_image(500,100,anchor=NW,image=ivan)
  
      canvas.create_text(350,30, text='my game', font=('Curier', 20),fill='red')
      
      def move(event):
          canvas.coords(1, event.x-50, event.y-108)
          window.update()
  
      # here is the problem i think
      def play_sound(event):
          playsound('monkey_sound.wav')
  
      canvas.bind_all('&lt;Motion&gt;', move)
      canvas.bind_all('&lt;Button-1&gt;', play_sound)
  
      while 1:
          window.update()
          time.sleep(0.03)
  </code></pre>