If you're arm has a separate sprite node then in your player script you can do something like this:
onready var arm_sprite = $arm
func _physics_process(delta):
arm_sprite.look_at(get_global_mouse_position())
The look_at() function will rotate the arm sprite towards get_global_mouse_position() which returns the position of the mouse.