-
Getting sourceRectAtTime() for first line in multiline text.
Hello!
I’m using a sourceRectAtTime() expression to position a bug top-left over a text.
Kind of like this:
®
CRUSH
It works as like a charm – the bug stays in place regardless of text length.
But sometimes I need a 2 (or 3) line text.
This also works as long as the next line are the same length or shorter.
Like this:
®
CRUSH
MUCH
But if second line is longer obviously the whole text box expands
and the bug will be positioned according to size of the whole text box.
Like this:
®
CRUSH
LOLLAPALOOZA
But I want this:
®
CRUSH
LOLLAPALOOZA
So – question.
Is there a way to read textbox position info from only the first line in a multiline text?
cheers!
.::Daniel