Change mouse click effect (on windows)

i’m learning to use python,
so i don’t have years and years of experience in programming
and i would like to create a program that allows me
to show an animation directly on the desktop at the position of the mouse when a click is made.
So I thought about doing the following:

  1. detect mouse clicks
  2. get the position of the mouse
  3. show the animation at the obtained position

I don’t know if all this is possible
and I have not yet looked for modules that allow me to perform the first and second operation,
but what worries me is the third operation.
If this project is not too complicated for a beginner,
I would like to know:
the animation that will be shown must be a gif or what and above all,
is there a module that I can use or any of your advice that I can follow?