That’s such an interesting concept. Have you made any progress? Is this a top-down game? 2D?
Can you share any screenshots of the game setup or gameplay or events.
I imagine shooting the yarn like shooting a bullet. Is it shooting in the direction of the mouse or the direction the player is facing?
I would imagine when an enemy is hit by the yarn a linked boolean can be set to true or you could use object linking.
The yarn can be a simple line drawn on a shape painter or you could place tiled sprites similar to this post minus the animation part.