Some more insight into the type of game would help. Maybe a screenshot.
There are some things with widgets where they drag and drop things. So the 2d widget sticks to the mouse cursor.
But maybe you aren’t using widgets. If you are using a pane with a texture on it, then that’s different. If you are using Niagara sprites and sub images for animation, that’s different.
If I want an in game object on like a flat plane to stick to the mouse cursor I’d probably use something like this.
If you want it to be an actor with a movement component, you can change “set target Location” to “Move to location”
Can maybe ditch some of the code then too.
Although I could be wrong. Maybe this helps.