This is coded in a javascript library called p5.js see: https://p5js.org/reference/
So I set up a basic code to try and get a custom cursor...
var img;
function setup() {
createCanvas(1000, 650);
img = loadImage("assets/arrowmouse.png");
image(img, mouseX, mouseY);
}
function draw() {
background(20, 155, 255);
fill(0, 0, 0);
}
No image appears so I'm getting a blue screen (my background)