SizeX and SizeY are floats that determine the position of the text being drawn. You’re asking how to multiply floats? If so, can you specify order of operations in the above line by parenthesis (or say its simply left to right)?
I feel like you might be having a harder problem than this and I’m just not understanding it correctly.
Oh so you’re trying to do rows and columns at the same time? After 5 text items are drawn, go down to the next row and start below the first text item?
If that’s indeed your problem, you can use a term called “nested” For loops. It might not be the most efficient solution (others can chime in on this), but it would work.
Essentially, you plug a ForLoop into another ForLoop. For each row of X items, increment the inner loop Y times. So the first for loop would loop a total of 3 times (I’m looking at your images for reference to size), and each time through the loop it would hit the second ForLoop that looped 5 times with your original logic of printing 5 items in a row.
That’s a harder concept to explain than I thought it would be! If you still aren’t sure what I mean, google “nested for loops”.
That’s my theoretical solution, but someone may have a more efficient method (or I might’ve misunderstood your question again).
I struggled with this a few months ago but came up with a pretty easy way to do it. Im not at home at the moment but I’ll post a screenshot later. It can be done in about 5 or 6 nodes.
It involves using the forloop index and dividing it by the amount you want it to go right/left to produce a nice number.
If i want it to go right 5 times and spawn in 20. If it was on the 14th one, i would do:
14/5 = 2.8
With this number 2.8 i now know that its 80% to the right and on the 2nd row. Hope that helps, if not ill get the screenshot to you when i get home.
It works correct, actually! But not the way you want. “Append string” node add strings together and in result you print “Row number] + Cell number]”
If you want to print in each cell number of this cell - create local variable and just increase it by one each time you create new cell, then assign this value to string you want to print.