How can i create a guideline for attacking like mgs rising blade mode?

Metal Gear Rising Blade Mode & Combat Training Gameplay - YouTube @ 1 min before he attacks there is a guideline that moves with the analog stick so you can aim your attack how you want. can anyone help me with this