Both segments are from coincident lines, are you sure you are not drawing both of them? Maybe the first drawn line doesn’t start at 0;0 because the Shape Painter object (pencil) is drawing with relative positions
Problem is that array is not storing it’s data of 0-index but the 1-index only actually it’s acting like a variable not an array
position of pencil object is absolute
please ignore the previous one and consider this, simplest example:
values are not storing both text object giving 9 instead of 0 and 9.
Actually I’m asking how to make arrays in Gdevelop simple.gdg (7.46 KB)