Frame selected objects
To look at and fill the view with selected objects
Select
View > Frame Selection
(or press the hotkey f).
The camera moves to fill the camera’s view with selected objects.
Parent topic:
Frame your scene