Get length of an attribute

Kiki123987

  • Posts: 29
I think I have read about it somewhere but cant find it anymore.

Is there a way to get the length (in pixels) of an text-attribute with a specific font?

Hectate

  • *
  • Posts: 4645
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Kiki123987

  • Posts: 29
Thanks, that was exactly what i was looking for.
I was looking in "Scene behavior" but those blocks only are available in "Actor behavior".