How to make 2D player arm locked while following the mouse?

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

I made a 2D side scroller. I made so the players arm follows where the mouse is but it moves all around the screen and it isn’t fixated at the shoulder. How to fixate it at the shoulder? (the player and arm is 2 different sprites)

arm_sprite.look_at(get_global_mouse_position())
:bust_in_silhouette: Reply From: 20xxdd20

Nevermind. It’s called pivot point and you can set it by pressing V.