i have a feeling like this has been already asked but i'm bad at wording that in to the search box so i'l just ask here. so i have a gun that i want to flip when the player flips but i have no clue on how to do that my first idea was to make the invisible part of the gun's sprite really large so if flipped it flips with the player but i realized how dumb way to do that is my current idea is to make a copy of that gun and place that to where it would be if flipped but i have no clue on how to make things appear and disappear i'l worry about the gun shooting later i just want to get the flipping working first i'm still somewhat new to programming in general so it may just be that i missed a thing that's really easy
What you can do is have the gun be inside a holder node (like a Node2D for 2D) and offset it from the origin. Then the player sprite would be the parent, then the holder node, then the gun. This should work.
oh ok thanks