# How to make Line Trace By Channel It begins at the location of the character's camera, and ends at the location of the mouse click

**URL:** <https://forums.unrealengine.com/t/how-to-make-line-trace-by-channel-it-begins-at-the-location-of-the-characters-camera-and-ends-at-the-location-of-the-mouse-click/489981>\
**Category:** C++\
**Tags:** line-trace, unreal-engine, mouse-click, question\
**Created:** [October 18, 2021, 12:11pm UTC](https://forums.unrealengine.com/t/how-to-make-line-trace-by-channel-it-begins-at-the-location-of-the-characters-camera-and-ends-at-the-location-of-the-mouse-click/489981 "2021-10-18T12:11:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alaarouda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alaarouda](https://forums.unrealengine.com/u/Alaarouda)\
**Post date:** [October 18, 2021, 12:11pm UTC](https://forums.unrealengine.com/t/how-to-make-line-trace-by-channel-it-begins-at-the-location-of-the-characters-camera-and-ends-at-the-location-of-the-mouse-click/489981/1 "2021-10-18T12:11:11Z")

</div>

How to make Line Trace By Channel It begins at the location of the character’s camera, and ends at the location of the mouse click ,Knowing that the character has no movement, in a fixed place

---

<div class="post-metadata">

**Author:** ![Tuerer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tuerer/32/1008648_2.png) [@Tuerer](https://forums.unrealengine.com/u/Tuerer)\
**Post date:** [October 18, 2021, 12:55pm UTC](https://forums.unrealengine.com/t/how-to-make-line-trace-by-channel-it-begins-at-the-location-of-the-characters-camera-and-ends-at-the-location-of-the-mouse-click/489981/2 "2021-10-18T12:55:49Z")

</div>

![350559-linetrace.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/0/f5046f36504263caf8907bc0b47a073dbe9d12f4.png)
