29 mars 2019
Designer's guide to Unreal Engine keyboard shortcuts
The idea behind writing this piece came when I started to write a follow-up email to my students when they were prototyping their very first levels with Unreal Engine in class. Due to lack of experience, some of them were struggling with basic activities, and would ask questions like, “How do I arrange blocks in a pixel perfect grid,” “Can I move half of the level just a little bit higher,” “Do I really need to copy that make-shift element piece-by-piece,” and more. Since the very beginning of my journey with Unreal, I’ve tried to find any leeway to help me do the most basic tasks more efficiently. In the process of doing so, each useful shortcut or tip went into my virtual notebook, which naturally grew over the months.
I divided each category into Basic and Advanced shortcuts. The Basics will be useful for anyone starting with UE4, as well for those who have some experience with it. The Advanced section is directed to those who know what using UE4 is about and want to use it more efficiently.
The Shortcuts
Selection:
Selecting, grouping, and arranging assets (mostly meshes) are the very basic tools to make your work easier. Here are, in my opinion, the most useful commands:Basic:
- Group & Ungroup (Ctrl +G/Shift + G)
This allows users to organize assets in clusters for future use or to arrange parts of a level.
- Unlock & Lock (RMB -> Group)
- Select object’s level - set as current (M)
- Select all (Ctrl + A)
Advanced:
- Select by class & Invert selection (RMB -> Select -> Select Matching (Selected Class))
Want to select all the door blueprints and nothing else? Check. Can I select everything with the material “M_SelectMe”? Sure. But I want to select everything other than the door Blueprints! No problem.
This becomes helpful in certain cases when you want to select more objects with common elements (being the same Blueprint, using the same material, being everything else, but the desired object).
Transform:
Transforming is the bread and butter of Level Design within UE4; mastering it can speed up your work by 200 percent!Basic:
- Cycle transform (space) & Transforms (W/E/R)
- World/Local Transformation
In this example, I really need to move this object to the left, but not the world’s left, to the objects left. This comes in very handy when the object’s (or everything else) rotation is not relative to the world.
- Snap to floor (End)
This chair really should stand on the floor, right? Well, you don’t need to manually place it in pixel-perfect fashion. Just press End and it’s done (assuming the floor and the chair’s collisions are properly set up). You can find other useful snapping functions under: RMB -> Transform -> Snap/Align.
Advanced:
- Snap to grid
Just keep in mind the proper scale of objects so that they can be properly arranged.
- Set pivot position (RMB -> pivot -> Set pivot offset here)
Sometimes placing an object can get a bit tricky, even when its pivot is in the correct place, so in such cases, why shouldn’t we put the pivot somewhere else? For example, we could place it right where we just clicked (Alt + middle mouse button) or place it where we want by dragging it with MMB.
- Increase transform value
Moving an object by something as specific as 165 units can be done by entering proper values in the object’s details tab, but what if the object is already rotated in two axis? With the help of World/Local Transformation, we know we can move it in our desired direction, but how do you move it comfortably without needing to change the transform value three times? Create a shortcut that increases and decreases the transform value!
Bonus tip: You can change the default values of the transform snap in: Editor Preferences > Level Editor > Viewport > Grid Snapping.
- Attach actor (RMB -> Attach to -> type the object’s name/select it with the picker)
Attaching an actor can be useful in several situations, you will probably figure your own application of this, but only after you know such a thing even exists. Just remember that both objects need to have the same Mobility setting (static/moveable).
Orientation:
Here I will outline some orientation tricks that will help you while inspecting, editing and showcasing your levels.Basic:
- Focus (F)
Found an object within the world outliner, but think it’s so far away it will take more than several seconds to scroll to its position? Press F. If you already had the desired object selected, but somehow end up far away from it, you can press F. Pressing F will focus your viewport on the selected object and immediately move the camera so you can see it in up-close.
- Outlines (G)
This is simple. Pressing G hides all the helpful tools within the viewport (grids, pivots, outlines, icons, and more). This is perfect for seeing how a level would look like in-game.
- Set camera (Ctrl + 1-9)
You’ve built a fantastic, vast level, moving from the beginning to the end takes more time than anyone wishes to spend. Make this process easier for everyone (including yourself) and place some “checkpoints” in vital areas. For example, Ctrl + 1 can equate to the beginning of the level. 2-8 can be vital points along the way, and finally 9 should be the end. This will make getting around much easier.
- Fullscreen (F11)
Bonus tip: Shift + F11 brings up the editor overlap taskbar.
Advanced:
- Translucent selection (T)
- View Modes
- Show navigation (P)
For projects using Unreal’s navigation, this is essential to see if any of the objects on the level could potentially block the path of AI or players.
- Perspective/side/top/front view (Alt + G/K/H/J)
- Snap object to view and view to object
I found this tip personally most useful when I wanted to place a camera exactly where I was looking. Snapping the selected object to the camera, changes not only its location, but also the rotation, so the aforementioned camera would be pointing exactly where you were looking at in the viewport.
Other:
Here are a bunch of shortcuts I found that don’t quite fit the first three categories outlined above, but I wanted to include them here since they’re quite useful.- Edit the asset (2x LMB the portrait)
- Find asset in Content Browser (Ctrl + B)
- Find in level Blueprint
- Play - Simulate (Alt + P/Alt + S)
- Open level (Ctrl + O)
- Show references (Alt + Shift + R)
- Tab Navigation (Ctrl + Tab)
In case you have a lot of opened tabs (materials, meshes, Blueprints, etc.) you can cycle through them just like on your desktop, but while using the Ctrl key.
Conclusion
The shortcuts mentioned here are just a portion of all the possible ways to optimize and organize your workflow within Unreal Engine. I strongly recommend you try the shortcuts on your own. You can change them (Edit > Editor Preferences > Keyboard Shortcuts) according to your needs. Remember to export them as a back-up for future use in your next projects. Additionally, I suggest actively thinking about how and why you perform or should perform certain actions. Shortcuts are a great way to learn that --- most of the ones I use came from a question, “I do (certain actions) pretty often, I wonder if it’s possible to make it less complicated?”I hope you found something new or useful for yourself. Share this post if you liked it or think it might be useful for someone else.
@panderjakub
Carbon Studios Discord
Cheers!