JSFiddle - React, Tailwind, and code Playground

CSS

body{
    background-color:#333;
}
.fall{
    cursor:default;
   font-size:10px;
    z-index:999999999999;
    color:#f00;
}

JavaScript

var lastTimeMouseMoved = "";
jQuery(document).ready(function(){
    
   $(document).mousemove(function(e){
       $('.fall').each(function(){
           if ($(this).css("opacity") == 0){
               $(this).remove();
           };
       });
       t = (e.pageY - 10).toString() + 'px';
       l = (e.pageX - 10).toString() + 'px';
       $('.fall').css("margin_left",l);
       $('.fall').css("margin_top",t);
       var doit = '<div class="fall" style="position:fixed;margin-left:' + l + ';margin-top:' + t + ';">+</div>'
       $('body').prepend(doit);
      $('#status2').html(e.pageX +', '+ e.pageY);
       lastTimeMouseMoved = new Date().getTime();
       var t=setTimeout(function(){
           var currentTime = new Date().getTime();
           if(currentTime - lastTimeMouseMoved > 1000){
$('.fall').fadeOut('slow');
              //  $('.fall').remove();
           }
       },1000)
   }); 
});