player shoots following animation direction

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Jeff797979

For example: anim left → bullet left direction,and anim right → bullet right direction.
In my project i am instance the player and bullet in a main scene with the code.
Thank