# OnProjectileHit
bool OnProjectileHit(hTarget, vLocation)
# Class
✔️ Server: CDOTA_Item_Lua
❌ Client: undefined
# Function Description
(HSCRIPT hTarget, Vector vLocation) Projectile has collided with a given target or reached its destination (target is invalid).
# Parameters
| Type | Name | Description |
|---|---|---|
| handle | hTarget | No Description Set |
| Vector | vLocation | No Description Set |