Text array and size with function

Hello @luciaromancanivell,

This is a hint only:

  textSize(24);  
  text(parrafo_array[0], 100, height/2);
  let tw0 = textWidth(parrafo_array[0]); // Text width for this string and textSize()

Reference:
https://p5js.org/reference/#/p5/textWidth

The next word starts at the end of the first word which you have the textWidth() for.

This was the x location for the last word in my code:
100+ tw0 + tw1 + tw2 + tw3

I was able to do this by building on the hint I provided:
image

:)