Log In  


So i have a make actor function which creates a circle random in the screen and adds it to actors table i have the keyboad mouse enabled, so lets say i generated 2 circles on screen what i wanna do is when clicked first it should draw a line between mouse and the circle object(i have sucsesfully implemented this) what i wanna do now click the second object and stop drawing line between circle1 and mouse and draw a line between circle 1 and circle 2 (kinda like circ1.connected =circ2 and circ2.connected=circ1) but they are generated through out the game so i cant put their names in like that



Got it working:
What i did is i used a holder variable yeah



[Please log in to post a comment]