UMG: Mouse cursor appear even if disabled

I’m trying to make a custom cursor and as such want to disable/hide the default (windows) cursor. The custom cursor is working fine, but the default cursor just won’t go away and I have no idea why.

In my player controller I have ticked off “Show Mouse Cursor” and everything else:

25741-untitled-1.png

In UMG, both the Buttons and the CanvasPanel have the cursor option set to “None”:

25742-asdas.png

Yet, as soon as I create my widget, the default cursor is displayed on top of my custom cursor.

25744-gfdg.png

It goes away if I click anywhere on screen, except when I click on a Button, then it reappears again. What am I missing here?

try to run the game in standalone or new window, maybe what u see is editor cursor ?

Didn’t work unfortunately. Also tried in full screen and even compiled it.

I think a default behaviour is overwriding you custom cursor here.

If you look at the Behaviour Picture, is says none, not having the opportunity to look inside myself right now it brings up the idea, if you havnt set a specific cursor, UMG will get the default cursor to show up. Try to bind your custom cursor to that behaviour.

edit: you should somehow be able to tell UMG that your custom cursor is the default one to use

There doesn’t seem to be any way of doing that. As far as I can tell you can’t bind anything other than the predetermined list of common hardware cursors.

25780-abc.png

However I found something strange while doing this. The cursor doesn’t change from the default one, even if I change every object in UMG to something else. For example if I select “Hand” I still get the standard windows cursor.

I don’t know what this means. Are the cursor settings in UMG having any effect at all?

It probably wont change anything, but try to set the input mode to UI only, I had a similar problem and that is how I resolved it (and it should not change anything, but it did)

Thanks for pointing me in the right direction. I wanted to turn off the cursor completely (changing variables in Player Controller didn’t help) and setting Cursor parameter to None solved it for me. But it looks like it need to be set like that for all elements of the widget. In your case I would check out if there are no more widgets active in the background which can have Cursor set to Default for example.