Swep Idea

I just started making sweps a while ago and I’m new to lua. I had recently downloaded a teleportation swep which gave me an idea. Since I’m a Naruto fan and I read the manga, there is this jutsu where you throw a knife and while its in the air you can teleport to it. I believe this is possible seeing as the teleportation swep has fairly simple lua and I noticed that both sweps create entity and positions. I’m not sure but can you make it so the knife that is thrown generates a position that when you use left click it teleports to that position?

Edit: I just want to know if this is possible, if anyone wants to help that’d be cool.

(User was banned for this post ("Wrong section" - Gran PC))