# I'm trying to single line trace from a moving component but it will not work in multiplayer!

**URL:** <https://forums.unrealengine.com/t/im-trying-to-single-line-trace-from-a-moving-component-but-it-will-not-work-in-multiplayer/35998>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [July 20, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/im-trying-to-single-line-trace-from-a-moving-component-but-it-will-not-work-in-multiplayer/35998 "2015-07-20T19:18:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![caelanim8ter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caelanim8ter](https://forums.unrealengine.com/u/caelanim8ter)\
**Post date:** [July 20, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/im-trying-to-single-line-trace-from-a-moving-component-but-it-will-not-work-in-multiplayer/35998/1 "2015-07-20T19:18:09Z")

</div>

Hi there, I’m doing a single line trace to act as a player firing a sniper rifle weapon.

I have the start and end locations, as 2 cubes, that are components of my characters.Cube 1 is :“Begin trace” Cube 2 is “End Trace”

The 2 cubes are attached to a bone that is moving around and animated. When i go to trace the cubes location, from the server, it doesn’t get the right location!

I have tryed using a method where ,the trace locations are from the main players camera location and forward vectors. It works!  
But i cannot used this method considering i have an animated sniper rifle,

If anyone knows, or wants to know more i can post up pictures, Plz and thank you 😃

---

<div class="post-metadata">

**Author:** ![caelanim8ter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@caelanim8ter](https://forums.unrealengine.com/u/caelanim8ter)\
**Post date:** [July 22, 2015, 3:58pm UTC](https://forums.unrealengine.com/t/im-trying-to-single-line-trace-from-a-moving-component-but-it-will-not-work-in-multiplayer/35998/2 "2015-07-22T15:58:26Z")

</div>

I’m not sure but i believe you have to grab a reference to the componenet being used, and set replication enabled for the specific component… to anyone wondering
