# Focus camera onto computer screen in game

**URL:** <https://forums.unrealengine.com/t/focus-camera-onto-computer-screen-in-game/359400>\
**Category:** Cinematics & Media\
**Tags:** zoom, computer, focus, unreal-engine, question\
**Created:** [June 2, 2016, 5:06pm UTC](https://forums.unrealengine.com/t/focus-camera-onto-computer-screen-in-game/359400 "2016-06-02T17:06:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![WillApted](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillApted](https://forums.unrealengine.com/u/WillApted)\
**Post date:** [June 2, 2016, 5:06pm UTC](https://forums.unrealengine.com/t/focus-camera-onto-computer-screen-in-game/359400/1 "2016-06-02T17:06:57Z")

</div>

Hi folks,

So my question is, how can I **focus** the **players camera** in **onto a computer screen** to enable them to interact? _(I have got ingame screen interaction working.)_

An example of what I mean can be seen here, in SOMA. [Example](https://youtu.be/LNiUgWuC_s0?t=1m54s)

Thanks in advance folks.

(I dont mind suggestions in either BluePrints or C++, however suggestions in blueprints might be userful for others looking on the forums. )

---

<div class="post-metadata">

**Author:** ![Nachtmahr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nachtmahr](https://forums.unrealengine.com/u/Nachtmahr)\
**Post date:** [June 2, 2016, 6:01pm UTC](https://forums.unrealengine.com/t/focus-camera-onto-computer-screen-in-game/359400/2 "2016-06-02T18:01:55Z")

</div>

For something like that you would first use a 3D Widget on your Computer (Widget Component) line it up and scale it to fit, while at it alse setup a Camera there pointing directly on the Widget. Linetrace towards your (Charcters) Camera forward Vector and check if its your Computer Terminal you hit. If it is Call “Set View target with Blend” to the Computers Camera. This will smoothly transition to the other Camera.

Next thing you need todo is to change your Controlls a bit. Basicly disabling your FPS movement mechanics and turn on mouse Movement mechanics to interact with your UI without moving around or shooting at it 😜 this part is up to to you.

And last thing is is the same process but in reverse enable FPS movement “Set View target with Blend” back to your Character.

Edit: I roughed this out you will have to Set Game Mode to UI only and Show Mouse Cursor and various other little things. Just so you be aware of that but there are plannty of guides out there that Cover all that Stuff.

---

<div class="post-metadata">

**Author:** ![WillApted](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WillApted](https://forums.unrealengine.com/u/WillApted)\
**Post date:** [June 2, 2016, 7:10pm UTC](https://forums.unrealengine.com/t/focus-camera-onto-computer-screen-in-game/359400/3 "2016-06-02T19:10:09Z")

</div>

Oh wow, I will try it out… there was me using a timeline etc… xD Thanks… I will get back once I have got it working (or not)
