Setting a custom cursor to mouse pointer

,

Hello,
Can someone show me a PG example or documentation for assigning a custom cursor (given as a png file) to the mouse pointer?
thank you,
David

I don’t think that applies to babylon.js specifically - here is an example:
Creating a custom mouse cursor with CSS - LogRocket Blog

3 Likes

There are a number of them. You already have the list of existing and the way to create your own.
Here’s one (PG) I quickly picked for you so you can try the different styles and can see how to access from within the scene (using canvas* or document*).

1 Like

@brianzinn @mawa Thank you. Both the documentation and PG that you pointed to are very helpful