How to make top down targeting cones?

Hello , I am trying to make a top down combat system similar to games like moba legends and diablo. Where you have a selection of your abilities on the right side of the screen which can be selected and aimed using a joystick and I wanna know how I can implement it into the game.
This is what it looks like


I’ve broke it down into three parts to make it easier

1.) I need a way such that when the player is interacting with the joystick , it shows the damage cone which can be controlled using the joystick.
2.) I need to move the player or the projectile on the selected path of the damage cone.
3.) check if the projectile or player hit the enemy and apply damage

3rd part should be the easiest but the first and second one is what I’m confused about pls help

In what way? Size, length, width, angle or all of the above?

I’m assuming while the cone is being modified the player is stationary.

The range , width and actual shapes would be variable depending on what character I’m playing with and what move is selected but I’ll probably use an array for each move. The player would be moving at all times , so it would be smth like the center of the cone is always fixed and attached to the player and the outer arc would move so as to aim , same would be for the straight line type shape. I’m guessing we can use a shape painter object somehow ?

you could do this sort of thing


with shape painter

you could mask a sprite with shape painter too if you wanted it a bit more elaborate looking
!

Can you try and maybe explain how you paint that shape to me please ? I’m trying to learn so that I can make different shapes myself

i had ‘draw relative’ ticked (important) and ‘clear every frame’
the actions are the fill path actions - scroll down to find them. You need to make sure you begin and end the path to fill it.
ive used XfromAngleAndDistance() to get the xy for the point to draw the arc from and To.