Create AoE cursor (Blueprints)

Hello !

I’ve been searching the internet for the past few days, looking for a tutorial or some kind of explanation on how to create a simple round cursor that follows the mouse, but stays snapped on the ground.

I guess I’m missing something very obvious, but it seems like I’ve tried everything (mouse trace, mouse location to worldspace, using actors, using papersprites constraining to plan,…) but either way, my round cursos keeps flying around.

I’m nothing of a pro, only doing this for fun on my free time, so any help pointing me towards a tutoriel covering this would be appreciated.

Thanks !

Try making a decal and add it to an actor you move around to the location of the mouse trace every frame.

You have to create a decal material that you add to the decal component inside the actor you use as the marker.

Have a look here. 1.1 - Basic Decal | Unreal Engine Documentation

HTH

Okay, I looked into your links and did some more searching and it’s finally working.

I’ve only been doing this for a few weeks, but I have to say I’ve never been so stuck. Thank you so much guys.

I would just add to this, that you will need this node Get Hit Result Under Cursor by Channel | Unreal Engine Documentation to get the position on the ground below the cursor. But it should be fairly obvious at that point once you get the decal mentioned.

Could you post the node setup you ended up with? I am struggling with this as well because I have a projectile that comes from the sky, but i want to give some indication regarding where the attack will come from, and i thought it would look good if i had some decal follow the cursor snapped to the ground.