You can’t dynamically create widgets, like the line, in Axure. What you can do is modify an existing line widget’s angle and length to simulate it. I hope you remember your trigonometry, you’ll need it.