Made something with the API

Go check out the API here

engine.construct("guiLine", engine.interface, { -- diagonal top left to bottom right

    thickness = 2,

    pointA = guiCoord(0,0,0,0),

    pointB = guiCoord(1,0,1,0),

})

engine.construct("guiLine", engine.interface, { -- diagonal bottom left to top right

    thickness = 2,

    pointA = guiCoord(0,0,1,0),

    pointB = guiCoord(1,0,0,0),

})

engine.construct("guiLine", engine.interface, { -- square top

    thickness = 2,

    pointA = guiCoord(0.45,0,0.45,0),

    pointB = guiCoord(0.55,0,0.45,0),

})

engine.construct("guiLine", engine.interface, { -- square bottom

    thickness = 2,

    pointA = guiCoord(0.45,0,0.55,0),

    pointB = guiCoord(0.55,0,0.55,0),

})

engine.construct("guiLine", engine.interface, { -- square left

    thickness = 2,

    pointA = guiCoord(0.45,0,0.45,0),

    pointB = guiCoord(0.45,0,0.55,0),

})

engine.construct("guiLine", engine.interface, { -- square right

    thickness = 2,

    pointA = guiCoord(0.55,0,0.45,0),

    pointB = guiCoord(0.55,0,0.55,0),

})

engine.construct("guiFrame", engine.interface,{ -- black box in middle to cover up the diagonal lines in the middle of the square

    zIndex = 5,

    size = guiCoord(0.099,0,0.099,0),

    position = guiCoord(0.451,0,0.451,0),

    backgroundColour = colour:black(),

})```
2 Likes

First and foremost, :wave: welcome to our forum!

Second, thank you for sharing this with us. I cannot wait to see what you have in store for more GUI integration and development. You will be a powerhouse when the platform comes to life. :slightly_smiling_face: Best wishes as you continue to pursue development!

1 Like

Brilliant stuff - can’t wait to see what else you do in the future :slight_smile:

1 Like

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