How to make a 2D sidescroller aim weapon towards gamepad thumbstick direction

Hello! I’m attempting to make a 2D sidescroller shooter game where the player can rotate their weapon with the gamepad thumbstick. I need a way to get a mesh on a character blueprint to rotate towards any direction the thumbstick is pointing to. I couldn’t find any sources on how to script this so I’m seeking some guidance. Any help would be greatly appreciated.


Same thing?