Uploaded July 2019 | Updated November 2026, 9 hours ago
In this live stream, Sergei will talk about the new updates to smartREKT 2.1(After Effects script). We hope to see you at 3PM ET.
In this live stream, Sergei will talk about the new updates to smartREKT 2.1(After Effects script). We hope to see you at 3PM ET.










![How to Get Correct Text Layer Size in After Effects
In this tutorial, Sergei will show you how to get the correct text layer size using Expressions in After Effects.
Project File & Code: https://ukramedia.com/how-to-get-correct-text-layer-size-in-after-effects/
Expressions Course: https://ukramedia.com/expressions
Blender Course: https://ukramedia.com/blender
CODE FOR WIDTH:
targetLayer = thisComp.layer(Layer Name);
w = targetLayer.sourceRectAtTime().width;
s = targetLayer.transform.scale[0];
p = (s - 100)* .01;
finalSize = w + p * w;
finalSize
CODE FOR HEIGHT:
targetLayer = thisComp.layer(Layer Name);
h = targetLayer.sourceRectAtTime().height;
s = targetLayer.transform.scale[1];
p = (s - 100)* .01;
finalSize = w + p * h;
finalSize
LINKS:
Ukramedia Website: https://ukramedia.com
Shape Layers in After Effects Tutorial: https://www.youtube.com/watch?v=D7hE46t8Vm0
Ukramedia Podcast: https://ukramedia.com/category/podcast/
Ukramedia Mentoring Group: https://www.facebook.com/groups/ukramedia/
ML3RD KIT - Bundle: https://www.ukramedia.com/ML3RD
ML3RD KIT - Flat Style: https://ukramedia.com/product/modular-lower-third-kit-flat-style/
ML3RD KIT - Corporate Style: https://ukramedia.com/product/modular-lower-third-kit/
ML3RD KIT Batch Duplicator: https://www.ukramedia.com/ML3RD
Get Adobe After Effects and CC: https://clk.tradedoubler.com/click?p(264355)a(2900636)g(22804962)url(https://creative.adobe.com/plans?sdid=KKSPF&kw=semoverview&mv=search&s_kwcid=AL!3085!10!13362180955!20541711544&ef_id=V13CaAAABYQcu4O2:20161105023903:s)
Get Adobe CC Trial: https://clk.tradedoubler.com/click?p(264355)a(2900636)g(22804962)url(http://www.adobe.com/creativecloud/catalog/desktop.html)
Get Adobe CC Student: https://clk.tradedoubler.com/click?p(264355)a(2900636)g(22804962)url(https://creative.adobe.com/plans?plan=edu)
Find The Perfect Asset For Your Next Creative Project: https://clk.tradedoubler.com/click?p(264355)a(2900636)g(22804962)url(https://stock.adobe.com/?as_content=fmflp&as_channel=sem&as_campclass=brand&as_campaign=US%7CCPRO%7CStock%7CPURCH%7CAS_Brand%7CGG%7C%7C&as_source=google&as_camptype=acquisition&sdid=KQPCU&s_kwcid=AL!3085!3!147228884620!e!!g!!adobe%20stock&ef_id=V15JXwAAAV06S8xU:20161105024353:s)
LET’S CONNECT:
Facebook: https://www.facebook.com/ukramedia
Sergeis Facebook Page: https://www.facebook.com/sergeiprokhnevskiy/
Twitter: https://twitter.com/ukramedia
Instagram: https://www.instagram.com/ukramedia/
Pinterest: https://www.pinterest.com/ukramedia/
Linkedin: https://www.linkedin.com/company/ukramedia
YouTube: https://www.youtube.com/c/ukramedia
Mailing Address:
P.O. Box 621
Huntersville, NC 28070
*** MUSIC BY: VLAD SOLOKHA. Vlad is a family friend who is a very talented musician. You can reach out to him by going to his facebook at https://www.facebook.com/vlad.solokha?fref=ts.
#AfterEffects #Expressions #MoGraph How to Get Correct Text Layer Size in After Effects](https://i.ytimg.com/vi/UHPNfT9YpiA/mqdefault.jpg)