Changing settings with arrows

Hello everyone, I am making a singleplayer game and am now getting to the In-Game options part.

I want to make a options menu that uses arrows to change the settings like resolution.
A little something like this.

I want it to function as follows, When you press one of the buttons (In this case) the resolution changes from 1920x1080 to lets say 1440x810 (when you press the arrow again it gets lower).

But unfortunatly I wasnt really able to make it myself (Because of my Knowlegde and skill in UE4) or find something on the internet.

Can someone maybe help me with this? Maybe give me some tips or give a link to someone that made the same thing which i want to make, I would be very thankfull.

Thanks for reading, I appriciate the effort!

Kind regards,
TheUnrealRipixel

P.S. In the mean time ill be searching for a solution myself

You can make an array with all the resolutions you need, and create an Int variable with the index of the currently selected resolution. Then just change them by index/

Thanks man! Ill give it a try!

From the reply that you gave me I made this!

and it worked!