# How to despawn a projectile when it gets near the player?

**URL:** <https://forums.unrealengine.com/t/how-to-despawn-a-projectile-when-it-gets-near-the-player/364814>\
**Category:** World Creation\
**Tags:** homing, unreal-engine, projectile, Blueprint, question\
**Created:** [July 22, 2016, 1:03pm UTC](https://forums.unrealengine.com/t/how-to-despawn-a-projectile-when-it-gets-near-the-player/364814 "2016-07-22T13:03:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Marooney](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marooney](https://forums.unrealengine.com/u/Marooney)\
**Post date:** [July 22, 2016, 5:38pm UTC](https://forums.unrealengine.com/t/how-to-despawn-a-projectile-when-it-gets-near-the-player/364814/4 "2016-07-22T17:38:06Z")

</div>

Ok lets see.

1. So for the missing TickEvent Messages: Are you sure you spawn GrapplingHook2 and not something else like GrapplingHook1 or so? Or do you disable the TickEvent at spawn for any reason?

2. If you say collision with another Projectile: Do you want the GrapplingHook to react to Projectiles or even attach to them? Perhaps you want to set up collision to ignore others.

3. About your error messages: Does your GrapplingHook already work with the surfaces? Because the Message just says it wants to attach to itself (would form cycle) and not to the surface you probably want to. How does your collision handling look like?

You can also check out this tutorial to get some ideas (for collision handling and so):

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

This thread also handles some problems you probably will run into:

> **[How can I make a grappling hook?](https://forums.unrealengine.com/questions/108664/how-can-i-make-a-grappling-hook.html)**
>
> Pretty self-explanationy.

hth 🙂 Marooney

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-despawn-a-projectile-when-it-gets-near-the-player/364814)._
