How to put an object on top of the mouse cursor and hide it?

The title …

Thanks for helping as always …

Hide the pointer then set the position of the object to follow the pointer.
Just shared an example, you can find it at the bottom:
gametemplates.itch.io/gdevelop-examples

custom mouse pointer that is.

Awesome thank a lot … didn’t know there was a Hide cursor event