How do i draw a line in between 2 points in gui?

How do i draw a line in between 2 points in gui? I have looked at tons of posts and none of them worked.

try finding the Vector2 Position with subtracting positions of the two gui’s then create a new gui and make it’s position the vector 2 that you find by subtracting

first method
simple math
get the magnitude between those 2 points
get the triangle of the 2 points
calculate the tan
get the angle
make a new gui
set its rotation to that angle
set its size to that magnitude

second method:
use editableimages’ :DrawLine method

This fixed it:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.