How To Customize Mouse Cursor

If you want to customize your mouse cursor you will find a widget that represent it in this path /UmgInputManager/Blueprints/Widgets/WBP_MouseCursor.

Customize Texture

If you open the widget you will see in the hirerachy that there is only one image called mCursor your can edit it as you want

just keep in mind that the point where the cursor interact is in the center, as you see in the image below the tip of the arrow is exactly in the center.

Add Animation

You could even add an animation to your cursor because it works just like a normal widget.

Parent Class Inheritance

For existing widgets

If you want your widget to handle user inputs you need to make you widget to inherit from WBP_GenericInputHandler, to do it you need to open your widget, then go into the code Graph, which you’ll find it near the upper right corner

This image has an empty alt attribute; its file name is image.png

then open the Class Settings in the toolbar above

This image has an empty alt attribute; its file name is image-3.png

then in the Details panel you will find the Parent Class field, here just assign the widget WBP_GenericInputManager.


For new widgets

To create a new widget already with the right class you just need to Right Click in the Content Browser and select Blueprint Class

In the popup that will appear type in the search bar inside the ‘All Classes’ section WBP_GenericInputHandler, select the right class and click the Select button in the bottom right corner

You will find the new asset in the Content Browser and you can give it the name you want