JSFiddle - React, Tailwind, and code Playground

HTML

<iframe src="http://jsfiddle.net/" width="600px" height="800px"> </iframe><img src="http://svn.assembla.com/svn/indielib/IndieLib_SDK/tutorials/exe/resources/cursor.png" id="cursor" />

CSS

#cursor{
    z-index:10001;
    position:absolute;
}

JavaScript

function triggerStuff(x,y){
    //every time this function is called the pointer is positioned
    //at (X,Y) and hover/click events should be triggered
    $('#cursor').css('top',x).css('left',y);
}
    
    triggerStuff(200,200);