Hey.

Just adding some modifications in the original, mainly removing the anti-alias for instead using pixel lines.
Rope Test example roomUpdated, to demonstrate how to use. Now Rope has a GetGraphic() property, that passes the integer that points to the sprite, so you can apply it to an object, an overlay, a GUI or anything.
using
Rope.Create(int rope_area_width , int rope_area_height, int rope_thickness = 1, int rope_color = 65535 )you have to set the area, also you can set the color and the rope thickness.
Rope.scm - Rope packaged as a module.
Rope.ash - the .ash file , the header.
Rope.asc - the .asc file if you just want to read.
Maybe this modification is useful for someone.
Chicky asked for help getting it to work on the Discord chat, but if you noticed,
I cheated by removing the anti-alias part.
If someone has a better understanding of
DrawAntialiasedLine and
can make it work in similar fashion with AGS 3.4.1 in an object in the room, it would be useful!