The Draw vertical line from () to length () colour () block is found under the Robotics palette in the extension evive TFT display. This block takes the coordinates of the starting point of a line as input along with length and colour. Starting from that point it draws a line extending downwards. This is a limitation of this block; it can only draw lines (vertical) from a lower Y-coordinate to a higher Y-coordinate and not the other way round.

This block is only works for Arduino mode.

Remember that a higher Y-coordinate will lie below the lower one since the positive Y-direction is downwards.

Draw vertical line from ()() length () colour ()
Block Type:

  • This script connects the points (50, 10) and (50, 40) through a green coloured vertical line.
    evive verticle line tft

Close Menu