Scale bitmapText and keep the center while tweening

Hi,
I’m trying to scale with a tween a bitmaptText. I could not make it scale and keep the center.
I did set the origin to be 0.5.

I saw this example, but they got the same thing, only the left top corner keeps it’s place:

1 Like

@samme
Thanks for the solution!
Meanwhile i added a tween to the x and y in order to keep the center, but i will sure try this one.

I got the same problem yesterday, and used a tween fontSize instead of tween scale. I’ll test samme’s solution…

@BlunT76
Did it work tweening the font size of a text bitmap?

Yes, tween works with almost any properties of the target.
Here’s a codepen demo:

1 Like