Line rendering Game

hello i need help with this im trying to create a level in my game that uses line rendering to draw a arrow from a user to another and im having a problem with making it i watched all youtube videos availble for this topic but nothing worked the idea of the level is like this i want to create a canvas this canvas has multiple words and i click on a world and drag a line from it to another world this picture is a example of my idea :


like this picture the idea looks simple but the line is not showed and nothing from youtube is herlping if someone could guide me how to do it it would be really helpful

If the above is UI you will need to do a lot of extra mapping to get the LineRendering coordinate space to match up, plus layering it to get it to show up where you want it will be tricky.

You might consider looking into the UI-extensions open source package, which has a line-draw function that comes in via CanvasRenderer.

There’s plenty of other forks out there too.