I can’t give you a very detailed answer because I don’t know how your code looks… but you could attach a script to every object you can use the grappling hook with. Put a method into the script and then check in your raycasting code if your target has_method("your_method_name"). This was from the top of my head. There’s probably dozens of more elegant ways to implement the same functionality.