Parent RayCast?

Could there be an option in the RayCast behaviour to scan for blocks with a specific parent please? It would be very useful for my game. Thank you

This would be very useful

If this could be made, it would definitely be helpful for lots of people