Can You Detect a Projectile Hit?

Does anyone know how to detect when a projectile has hit a certain block or position and have it trigger another event using code? I have seen this possible using Tynker and was wondering if it was possible with Makecode and the Education Edition.