# Point Attraction not following object in scene

**URL:** <https://forums.unrealengine.com/t/point-attraction-not-following-object-in-scene/691101>\
**Category:** FX\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [November 15, 2022, 11:43am UTC](https://forums.unrealengine.com/t/point-attraction-not-following-object-in-scene/691101 "2022-11-15T11:43:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kayorx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kayorx](https://forums.unrealengine.com/u/kayorx)\
**Post date:** [November 15, 2022, 11:43am UTC](https://forums.unrealengine.com/t/point-attraction-not-following-object-in-scene/691101/1 "2022-11-15T11:43:22Z")

</div>

I am trying to make Particle follow an object in scene, I converted my particle into a blueprint and add a reference to the object.

Then using a reference of the object location I set the Niagara Value position to be the object location. But it doesn’t follow, it sets the origin to 0

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/8/5/185d57c6797cff8fb3a935437410e9d84c76be72.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/a/6/1a6f6c61240e4e19fcda042323ba25079bbae004.png)

Here we can see the attraction line position, and it’s not the sphere

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/0/110c637ae257dd4b2fc3410446cdb95c83cf80a2.jpeg)

---

<div class="post-metadata">

**Author:** ![OhBriz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ohbriz/32/466374_2.png) [@OhBriz](https://forums.unrealengine.com/u/OhBriz)\
**Post date:** [November 17, 2022, 9:13am UTC](https://forums.unrealengine.com/t/point-attraction-not-following-object-in-scene/691101/2 "2022-11-17T09:13:49Z")

</div>

> [@kayorx](#):
>
> icle follow an object in sc

I’m a little bit confused about your setup, do you have both the Niagara System and the Target Object in the same Blueprint?

I’ve tried making a blueprint that contains the Niagara System and then then passing in an Actor Target to sample the location from and it works fine on my side

I thought that maybe there was something going on with the “Set Niagara Variable By String” node you are using, I would have passed in the value just as a Vector3  
but all the following nodes work for me:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/f/8/1f80f0b91007a22ea6e46872fd3f724bcf7c483f.png)

Here’s a quick video of my setup:
