I was wondering if anyone knows how to make the pre cast ability system that a game like Smite has?

In the MOBA game smite , when you press the numbers 1,2,3 or 4 to cast the characters ability , a Pre cast ability comes out so you can see where the attack is gonna land so you can hit your enemy, i was hoping if anyone knows how to make this or if there i

s a tutorial out ?

this is an example of what im looking for! I appreciate y’alls help