Using Unreal Engine console commands
Unreal Engine allows testers to use console commands to interact with the game while playing. Console commands are widely used to change game settings, view the game status, manipulate game attributes, change game behaviors, tune game parameters, and so on.
Exploring modes and console commands
A pop-up UI called the Debug menu is usually developed to link UI actions (buttons, input boxes, and selections) to certain console commands. Testers can use the Debug menu to quickly jump into a particular game state. If you want to learn more about the Debug menu, you can visit https://en.wikipedia.org/wiki/Debug_menu.
Please be aware of the prerequisite for using console commands in standalone games, which requires games to be packaged as Development builds instead of Shipping builds.
To use console commands while playing the game, press the tilde key (~) on your keyboard to toggle between showing the small console, showing the large console...