How to procedurally generate vines which the player can swing on

How would I make random length vines spawn under tree meshes which are multi instances over a terrain mesh.

I have no clue how to start with making vines for swinging

My goal is so when you hold space and touch a vine you attach to it letting you swing my releasing

Sorry if this is asking too much I’m not proficient in Godot yet.