How to add a custom cursor in react babylon Project

I am trying to add a custom cursor in react babylon project. Cursor hover is giving the pointer cursor, But I need to add an image as the cursor

I dunno all too much about react, but I would assume you can i.e. set your css element or html element style:

cursor:url('path/to/image'), auto

My test worked here:

2 Likes