How can I get the current mouse cursor type?

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