Set cursor to link only works in Preview mode

When I set the cursor to link, I only see a change in the cursor in the Preview mode of the editor. I tried the same by setting an asset instead and this does work.

Hoever I would prefer using the OS specific cursor so it would be nice if I could use the “link” option. Is this a known issue?

Thanks!

Hi,

OS specific cursor are only available in the editor. In the runtime you need to use a texture for custom cursors.

Hi,

What is the reason that this only works in the editor? It would be more interesting to have this at runtime.

1 Like

+1 on OS cursor. Whatever you do that makes OS cursor work in the editor should be possible at runtime.

The problem at runtime is differences between OS’s. The editor is specific to the OS you are developing on so it’s already setup for that OS. Having it be consistent at runtime is not an easy task especially when at least 5 of the OS’s supported don’t really support the use of a mouse out of the box. That’s going to be a lot of edge cases to account for with out introducing bugs.

You can access the OS cursors at runtime I’m sure. Like moving the mouse cursor in a script, the code is OS specific. You are free to implement it for each OS you plan on releasing your game/app on.

I still think that this is basic functionality that should be available in the UI toolkit. I was expecting that when hovering over a button, it would be default behaviour that the cursor changes to a hand cursor but that is apparently not the case. We would like to release our application on Mac, Linux and Windows so it should work on all of these platforms.

It would be really nice if this could be added to the backlog, it would be a big help for our application.

I’ve been in communication with the platforms team that would own the implementation of this features. No hard commitment from them as of yet but i will keep pushing to get it on their backlog of work.

4 Likes

That’s great! Thanks a lot!

1 Like

I wonder what is the status of the “OS cursor” feature now, two years after the last comment in this discussion?
The feature seems quite obvious, it was unpleasant surprise to find out it’s missing…

Well, still no hard commitment from them.