Rotating sprite using gamepad the R analog stick

godot

#1

This was done with the mouse by using the look_at(get_global_mouse_position()) function . I want to know how I could do it using the R analog stick?. I’m key mapping my controls for both M&K and controllers. I want to make the controls kind of similar to or actually like twin stick shooters.