Projectiles hit player

how can i find out if projectiles hit the player?