How can I get the current mouse cursor type?

Hi, I’ve been trying to figure out how to get what type of cursor the mouse is currently using.

To elaborate, when you hover over text or while dragging something, you’ll get a different styled cursor. I know Unreal already has a default way to customize these in the project settings (see pic), but I’m trying to get the type of cursor that is currently being used as a variable.

image

The player controller has a variable called Current Mouse Cursor, which I thought could work, but I’ve had no luck with it, it always returns default. Does anyone know how to check which type of mouse cursor is being used? Hoping I don’t have to get too hacky with the solution here, but I can make do.

i cant help you with the above system, but to offer an alternative that i use,

create a custom mouse cursor widget and set it using SetMouseCursorWidget, save a Ref to that widget,

then in the widget use an Enum to set the widget image to whatever is relevant and then you can get that Enum to know you current cursor type.

there are more advantages to this system such as being able to set whatever texture you want