How to Auto-Size Text to a Shape Layer in After Effects

  Рет қаралды 45,640

ukramedia

ukramedia

Күн бұрын

Пікірлер: 74
@ShantanuBaviskar
@ShantanuBaviskar 4 жыл бұрын
I don't think anyone can explain better than how you did. Excellent tutorial man. You deserve at least 500,000 subs if not a million. You literally give out info that other people are giving out in paid courses, and that also is probably not explained as well as you would.
@ukramedia
@ukramedia 4 жыл бұрын
Wow! Thank you for your very kind words! Made my day.
@currenluna
@currenluna Жыл бұрын
I love your teaching style. Even with a background in coding, I appreciate how you broke down the reasoning for your code. Thanks, Sergei!
@araheem8916
@araheem8916 3 жыл бұрын
When you turned the scale into pixel value, and when you applied the smallestValue. Standing ovation! Brilliant!
@goodneighbor4338
@goodneighbor4338 3 жыл бұрын
Standing Ovation for explanation. Bravo Bro
@JonJagsNee
@JonJagsNee 4 жыл бұрын
I loved this tutorial on so many levels because it was so RAW. More of this! :D
@adampyburn9201
@adampyburn9201 4 жыл бұрын
This was a huge help Sergei! Just what I needed to update the templates on a massive project I'm working on. As a fellow NC-based motion designer just want to send a big thanks!!! Next time you're in Durham (post-COVID) let me know - first round is on me. Cheers!
@ukramedia
@ukramedia 4 жыл бұрын
Will do. Thanks, Adam!
@goodneighbor4338
@goodneighbor4338 3 жыл бұрын
😮WOW. You are so so PRO. teach us more
@nikhilrastogi7599
@nikhilrastogi7599 3 жыл бұрын
Thank you .. for explaining each and every step .. with logic to understand. You are awesome!
@ukramedia
@ukramedia 3 жыл бұрын
Glad it was helpful! Thanks for watching it, Nikhil!
@brunojacquet6583
@brunojacquet6583 3 жыл бұрын
You are actually saving my life right now with a job I have ahah. Thank you so much for your amazing tips and especially the way you explain everything, I'll definitely consider buying your expressions lessons! Have a great day Sergei & Ukramedia !
@andyscott7392
@andyscott7392 4 жыл бұрын
Very impressed with the explanations in this tutorial - really helps to understand expressions in general as well as for this example :-)
@m.a8735
@m.a8735 2 жыл бұрын
Sergei I would be highly interested in a Mogrt and scripting course from you, not just expressions. Your explanations and thought process is concise and sharp. I would really love to learn how to create effective mogarts and/or scripts for my work like you do. (Like in your Excel sheet episode, when you created a script to help you automate all the grueling work) Thank you for everything you teach and give, wish you all the success and prosperity in the world 🙏
@LifeofPal
@LifeofPal Жыл бұрын
very very helpful. thank you so much. You're life saver
@AssassinsTweed
@AssassinsTweed 3 жыл бұрын
Such a useful video - loads of great bits and bobs here that I didn't know before. Great stuff, liked and subscribed :D
@moqtev
@moqtev 2 жыл бұрын
Excellent tutorial - thank you so much
@ajaynaran1480
@ajaynaran1480 2 жыл бұрын
Thanks.. Great tutorial. How do you auto resize the textbox to the maximum width of two or more separate text layers?
@ManexFX
@ManexFX 4 жыл бұрын
Thank you for explaining my request!
@NicolasPignoux
@NicolasPignoux 4 жыл бұрын
Just discovered your tutorials today after spending money and time on paid courses weeks ago... I wish I saw your videos earlier. I learned so much! So thank you for that! I have a question though, how can I autosize my rectangle around my text while having some keyframes to animate my rectangle?
@ukramedia
@ukramedia 4 жыл бұрын
Wow! Thank you for your very kind words, Nicolas! It's kind of hard to explain this in a comment. However, I created a tool called smartREKT that will do that for you. I use it all the time. Here is a promo video for it: kzbin.info/www/bejne/rYbWf3uCfdSfoZo. Also, we have a free online mentoring group at ukramedia.com/community where we have super talented folks that can answer any question you might have. I highly recommend you joining that group.
@ukrainethefuture1101
@ukrainethefuture1101 4 жыл бұрын
Wow amazing tutorials really Keep up my Dear 👍
@germancarballo9282
@germancarballo9282 4 жыл бұрын
Sergei! This is awesome! Thanks for sharing all this content and let me tell you that the way/method you explain coding is super accesible to someone who doenst has writen code ever! Keep going! If its possible I would like ask you the method to get the comp size by coding. Kind of the sourceRectAtTime but for composition. Again, thanks 👏
@Shoorik513
@Shoorik513 3 жыл бұрын
Sergei, thank you for another great tutorial! I wonder if there is a way in AE to put text inside an irregular shape? A triangle for example? Thank you!
@SDundee09
@SDundee09 3 жыл бұрын
If you receive "error undefined value used in expression" when trying to make the text adjust to the smallest value, this appears to be an issue with javascript, and will work fine if you change the expressions engine to legacy (can be changed in the project settings)
@lushprod
@lushprod Жыл бұрын
this is great! been looking for a while! great!
@andresortiz560
@andresortiz560 2 жыл бұрын
Sergei! You're always my go-to on this when I'm absolutely desperate. Is there a way to sourceRectAtTime specific lines of text and not the whole text layer? I want to take a shape layer size and tie the width to the top line of a text.
@kaka-xi8py
@kaka-xi8py 4 жыл бұрын
Can't download.
@ukramedia
@ukramedia 4 жыл бұрын
Sorry about that, here is a link to it: drive.google.com/file/d/11MZe-HxZHYxCiJ5Bt-GLj4Plwx9bicUU/view
@datduong5744
@datduong5744 3 жыл бұрын
@@ukramedia I can't
@bohdanbykon8338
@bohdanbykon8338 3 жыл бұрын
@@ukramedia I guess the thing is with sharing options. Now it is set to "viewers cannot download". Anyone with the link can view the archive and what is inside - but you cannot download it.
@zohaibmalik819
@zohaibmalik819 4 жыл бұрын
Hi, I haven't received project file in email and also the google drive link is not showing download button. Kindly help.
@JunaidUrRehman
@JunaidUrRehman 4 жыл бұрын
Same happened with me
@ukramedia
@ukramedia 4 жыл бұрын
@@JunaidUrRehman Sorry about that, here is a link to it: drive.google.com/file/d/11MZe-HxZHYxCiJ5Bt-GLj4Plwx9bicUU/view
@CCOOCatalunya
@CCOOCatalunya 4 жыл бұрын
@@ukramedia Can't donwload! :( thanks for he tutorial anyway, very useful!
@NawazAlamgir
@NawazAlamgir 4 жыл бұрын
@@ukramedia theres no download permission
@JunaidUrRehman
@JunaidUrRehman 4 жыл бұрын
Great tutorial !! in AE CC 2020 you can apply expressions on text properties like font, styles, kerning, etc... how to link those values like font size instead of scale value?
@RickTurnsWoodturning
@RickTurnsWoodturning 4 жыл бұрын
Sergei, if I use your SmartRekt tool to make a composition, and then make a mogrt from that comp, will it work in Premiere Pro without SmartRekt installed?
@ukramedia
@ukramedia 4 жыл бұрын
Yes, it will work. I use it all the time to do that.
@obidobitime7365
@obidobitime7365 4 жыл бұрын
Can you make a tutorial about Large comp sizes setup and render settings for large 6k or higher comps for giant screens? Example: comp size for giant billboard or in arena graphics. Thanks
@jeremyacree
@jeremyacree 4 жыл бұрын
Well done.
@chindito5711
@chindito5711 4 жыл бұрын
Hi, there is something wrong with the project file. It´s imposible to download it. Thank you for your hard work I am learning a lot from your videos.
@colinmoore1571
@colinmoore1571 Жыл бұрын
Thanks dawg
@CamiloMonsalve
@CamiloMonsalve 4 жыл бұрын
How do you reveal the auto complete the scripts, and errors report?
@tristansummers
@tristansummers 11 ай бұрын
Any ideas for filling non square shapes with paragraph text?
@MrAxelWare
@MrAxelWare 2 жыл бұрын
Very nice tutorial and great job explaining!! Very useful Thanks!! Would this be posible to achieve with text size, character tracking and line spacing properties? Probably a dumb question lol
@rimawiz
@rimawiz 4 жыл бұрын
you are a legend 🙏🏻🔥
@ukramedia
@ukramedia 4 жыл бұрын
Thank you for your kind words!
@eladadir3519
@eladadir3519 4 жыл бұрын
Great tut, But it doesn't work on the new JS expression engine, can you write what we need to change for it to work ?
@BradEditsThings
@BradEditsThings 3 жыл бұрын
Thank you! I've used this method countless times after learning this. One question, sorry if I missed it... when I add a comma or some other special characters, it expands the box but I'd rather keep the box the same size and just have the comma cut off slightly (for templating purposes). Is there a way to do that?
@BradEditsThings
@BradEditsThings 3 жыл бұрын
I worked around it for now by placing a matte over each text background, but expressions make life easier so I'll take anything at this point. You rock as always.
@di5trotion
@di5trotion 4 жыл бұрын
Really useful. Thank you for sharing this tutorial. ^0^
@ukramedia
@ukramedia 4 жыл бұрын
Thank you for watching it!
@Flavio_S
@Flavio_S Жыл бұрын
Can you show how to make it work with Bezier Paths shape layers? Cause I have a client who's asking me for a shape layer that has 3 rounded corners except one square
@tubelator
@tubelator 6 ай бұрын
All well in AE. .but when you go to PP you cannot use different fontsizes/styles. It will all become just ONE block of text.
@a.mused22
@a.mused22 4 жыл бұрын
So Awesome this!
@EscarabajoBinario
@EscarabajoBinario 2 жыл бұрын
¡Thank youuuuuuu! :D
@semillerimages
@semillerimages 4 жыл бұрын
AWESOME!!!
@강도-g2e
@강도-g2e 3 жыл бұрын
umm.. thank you for lecture!^> just.. could i have a question?.. 14:03 in this part, why 100 multiply in expression?.. ㅜㅜ It just means divide time?
@goodneighbor4338
@goodneighbor4338 3 жыл бұрын
Can you please tell me that How i can practice more n more after effect as i am out of ideas BUT i want keep learning
@johnroman5192
@johnroman5192 4 жыл бұрын
After I type in sourceRectAtTIme I keep getting an error that reads"Error: couldn't turn source into numeric value" any idea what I could be doing wrong Code looks like this x = sourceRectAtTime(). Left + sourceRectAtTime(). Width/2; y = sourceRectAtTime(). top + sourceRectAtTime(). hieght/2; [x, y]
@semillerimages
@semillerimages 4 жыл бұрын
width needs to be lowercase and you spelled height wrong :)
@semillerimages
@semillerimages 4 жыл бұрын
left needs to be lowercase too
@CodyLScaggs
@CodyLScaggs 3 жыл бұрын
I don't think I have this fx when I search in effects and presets. Can you tell me more please?
@marthjel
@marthjel 3 жыл бұрын
Hi! Great stuff! Do you know if there is a way do access the bounding box of the textlayer, and make that adjust to the "this is where you type text"-box, rather than manipulating the scale values of the entire text layer? Your tutorial works perfectly but Im trying to connect the text and text style to be controlled by a JSON-file. i.e. what text that shows in the box, what font it is and the actual font size and so on. The code I use (below) works with the JSON and I can set the different properties via JSON. But when I use your Scale code for the entire Text layer, everything still works EXCEPT the font size. I hope you understand my problem? = I want to make the bounding box of the text content to adjust och be limited to the space of the Shape Layer box size :) Just as a normal sourcerectAtTime drives the shape of a shapelayer box depending on the text, but the other way around, meaning that the shape layer box controls the space that the text can fit in! var t = thisProperty.style; var writeText = thisComp.layer("config.json")("Data")("Outline")("text_input")("value"); var fontSelect = thisComp.layer("config.json")("Data")("Outline")("text_font")("value"); var fontSizePX = thisComp.layer("config.json")("Data")("Outline")("text_size")("value"); text.sourceText.style .setFont(fontSelect) .setFontSize(fontSizePX) .setText(writeText)
@SeamndelAlt
@SeamndelAlt 3 жыл бұрын
What way is there to add margins only on one side of the text?
@ArtXCreators
@ArtXCreators 2 жыл бұрын
what if text is right or left aligned insted of center, how to control shape size with left or right corner fixed?
@tomghzel
@tomghzel 3 жыл бұрын
Are there any free plugins that do the same?
@valentiniliev3261
@valentiniliev3261 3 жыл бұрын
Why do I get an error "couldn't turn result into numeric value" when defining the x var? x= 600; I'm on AE 2021 if that matters...
@geo-pr0610
@geo-pr0610 3 жыл бұрын
Might anyone know how to maintain a specific point sizes?
@nikitabudilkin9859
@nikitabudilkin9859 Жыл бұрын
Серёг, второй раз спасаешь. То CSV таблицу обьяснил как пульнуть в ае, то этот видос с автоматизацией
@PictorshopStudio
@PictorshopStudio 4 жыл бұрын
If you asking tip at the end of the tutorial then I suggest don't call it aproject free!
@ukramedia
@ukramedia 4 жыл бұрын
It is free. Tip is optional. Let me know if it isn't.
How to Automatically Get the Size of Many Layers
17:22
ukramedia
Рет қаралды 6 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 16 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 89 МЛН
SourceRectAtTime() Revisited - Adobe After Effects tutorial
10:23
Link Text Animation to Markers in After Effects
11:00
ukramedia
Рет қаралды 23 М.
After Effects Essential Graphics 101: Templatize your workflow
15:17
BallerFX - Sports Motion Design
Рет қаралды 6 М.
After Effects Expressions 304 - 2D & 3D Position
11:00
Animoplex
Рет қаралды 46 М.
sourceRectAtTime(); | After Effects Expressions
34:33
Jake In Motion
Рет қаралды 134 М.
Why You Should Be Using Master Properties in After Effects
15:28
Animating Artwork from Adobe Illustrator in After Effects - AE Fundamentals
26:32
Math.sin - Adobe After Effects Expression
13:28
ECAbrams
Рет қаралды 182 М.
How to Use the Dropdown Menu in After Effects
15:57
ukramedia
Рет қаралды 50 М.
Self Resizing Shapes to Text | After Effects Pro Tutorial
5:57
Maxwell Ridgeway
Рет қаралды 66 М.
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 16 МЛН