Scale Shape Layer From Corner Without Distorting Roundness

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024

Комментарии • 72

  • @rosalynfenton3024
    @rosalynfenton3024 Месяц назад +3

    i still watch this video every 6 months or so - great stuff saved me so much headache!

    • @MotionCaddy
      @MotionCaddy  24 дня назад

      Wow, I’m glad to hear the video is still helpful for you! Thanks for the kind words, and I’m happy it’s saved you some headaches. 😊

  • @jocro8090
    @jocro8090 Год назад +37

    It's good to know there's a way around this, but Adobe really should have something this simple set up in such a way that it doesn't require an expression to work. I mean is there any situation in which you want rounded corners to get distorted by scaling? It just looks bad.

    • @woodyoulove-reynaldguibone6890
      @woodyoulove-reynaldguibone6890 3 месяца назад +2

      Right? I think most of the people wanted square corner to be maintain the roundness, why it needs to be a second option. And to think that you need to do a coding to be able to access this. Time consuming for such a small detail.

  • @sturmx96
    @sturmx96 Год назад +13

    Thank you, adobe made everything to complicate every easy little step.

    • @MotionCaddy
      @MotionCaddy  Год назад +1

      Glad it helped!

    • @woodyoulove-reynaldguibone6890
      @woodyoulove-reynaldguibone6890 3 месяца назад +1

      Right? I think most of the people wanted square corner to be maintain the roundness, why it needs to be a second option. And to think that you need to do a coding to be able to access this. Time consuming for such a small detail.

  • @Dargolan
    @Dargolan 7 месяцев назад +1

    Very good, thanks!

  • @petercarley9260
    @petercarley9260 2 месяца назад +1

    thank you for doing Adobe's job for them! this is seriously helpful.

  • @vishnupanchal6215
    @vishnupanchal6215 2 месяца назад +1

    Bro you saved my life you should get an Oscar for this

    • @MotionCaddy
      @MotionCaddy  24 дня назад

      Haha, thanks a lot! I’m really glad I could help. Your words mean a lot! 🎬😊

  • @Erfunframe
    @Erfunframe 5 дней назад

    Thanks a lot

  • @olgakozlova1981
    @olgakozlova1981 8 месяцев назад

    Finally I've found that sollution! Thank you! Thank you! Thank you! It worked! If there is a way to place anchor at the middle of the shape let me know please 😀

  • @姜刘
    @姜刘 3 месяца назад +1

    Thank you!

  • @Lucas-l2a
    @Lucas-l2a Месяц назад +1

    thats cool thanks!

  • @usermdesign1003
    @usermdesign1003 Год назад +2

    Thanks a lot... very helpful!! this saves me a lot of time.😁

  • @qianzhang2177
    @qianzhang2177 Год назад +7

    How can I move the anchor to top middle?

  • @Kiki-rg7ds
    @Kiki-rg7ds 10 месяцев назад +1

    save my life....thank you ㅠㅠㅠㅠㅠ

  • @emilyresch546
    @emilyresch546 23 дня назад

    really helpful, thanks! is there any way to get the anchor point mid way between corers (like the side of the rectangle?)

    • @MotionCaddy
      @MotionCaddy  20 дней назад

      Yes this is possible. Depending on which side you would like your anchor point the expressions would look this this:
      // Left Side
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [w/-2, h/h]
      // Right Side
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [w/2, h/h]
      // Top Side
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [w/w, h/-2]
      // Bottom Side
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [w/w, h/2]

  • @dalilamercuri2112
    @dalilamercuri2112 3 месяца назад

    Davvero molto utile, grazie davvero mi hai svoltato la giornata!

    • @MotionCaddy
      @MotionCaddy  24 дня назад

      I’m glad you found it useful! Thanks for the kind words and I’m happy to have helped! Grazie!

  • @ИванИванов-к7ю8о
    @ИванИванов-к7ю8о Год назад

    Thank you so much! This was very helpful!!!

  • @flyingfishdesign62
    @flyingfishdesign62 Год назад +3

    this has bugged me for ages, why does it need an expression? Shame Adobe, you should be able to change the location of a shape anchor point, just like the layer anchor point. Thank you, nicely done!

  • @TinyTakes-
    @TinyTakes- 2 месяца назад

    I want to change the Shape Layer using multiple anchor points, example: I will adjust the from TOP LEFT and then I want to adjust from TOP RIGHT how would I do that? If the anchor point is locked only in one direction?

    • @MotionCaddy
      @MotionCaddy  24 дня назад +1

      Unfortunately, dynamically changing the anchor point for scaling in different corners can be quite complex. While a more advanced expression could adjust the anchor point, you’d also need to adjust the shape’s position accordingly, as it shifts based on the anchor point.
      A simpler approach might be to create multiple shapes with their anchor points set in different corners. You can then switch between these shapes seamlessly depending on where you need to scale from. This way, you can control the scaling from various points without having to constantly adjust the anchor point and position.
      Hope this helps!

  • @ayramehrish686
    @ayramehrish686 Год назад +6

    Hi, Thanks for the tutorial.. what if I want the anchor to be top centered?

    • @jamskof
      @jamskof Год назад +1

      nightmare!

    • @MotionCaddy
      @MotionCaddy  Год назад +9

      This should work for the anchor point to be top and centered:
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [0, h/-2]

    • @ayramehrish686
      @ayramehrish686 Год назад +1

      @@MotionCaddy thank you, will try it :)

    • @guirs99
      @guirs99 Год назад +1

      @@MotionCaddy I was for this one also, thanks man 🙌 it worked

  • @polinae8976
    @polinae8976 11 месяцев назад

    Thank you a lot!

  • @woodyoulove-reynaldguibone6890
    @woodyoulove-reynaldguibone6890 3 месяца назад +3

    Why this option needs to be coded? They should have done it already on their end just create a checkbox inside the shape layer or content if we want to this option or not.

    • @MotionCaddy
      @MotionCaddy  24 дня назад

      I hear you-having built-in options for these features would definitely make things easier!

  • @aarrasmikael
    @aarrasmikael Год назад +1

    thank you thank you thank you!

  • @VidarrKerr
    @VidarrKerr Месяц назад

    How can you scale it and keep the proportions when using one of the "dots" in the corners? When you scale it with the slider, or by typing, with the proportion locked, it scales proportionally. But if you try to scale it with one of the corner dots, it doesn't keep the proportions. THANKS for this VIDEO!

    • @MotionCaddy
      @MotionCaddy  24 дня назад +1

      Hi there! Glad you enjoyed the video! 😊
      To keep the proportions when scaling a shape layer using the corner "dots" (bounding box handles), you'll want to hold down the Shift key while dragging. This forces After Effects to maintain the aspect ratio as you scale the shape manually.
      Alternatively, if you prefer to scale proportionally by typing in values, make sure the "Constrain Proportions" lock icon is enabled in the Transform settings or in the Scale slider. This ensures that the width and height scale together when you adjust one value.
      Hope this helps! Let me know if you have any more questions!

  • @AgustinFioriti
    @AgustinFioriti 8 месяцев назад

    Is there a way to apply this but with a linear shape instead of a rectangle? If I stretch the X value, the rounder cap gets deformed

  • @oleh6781
    @oleh6781 2 месяца назад +2

    Holy Jesus! Why does it have to be so complicated? I want Figma to develop a modern alternative to After Effects. It’s such a pain to use Adobe products-they’re such dinosaurs!
    Thanks for tutorial 🙏

    • @MotionCaddy
      @MotionCaddy  24 дня назад

      Totally get it-Adobe can be a real head-scratcher! 😅

  • @margodegraaf
    @margodegraaf Год назад

    Really helpful, thank you so much

  • @STUDIOMOTIV
    @STUDIOMOTIV 11 месяцев назад

    Amazin thanks!

  • @Abdo.A
    @Abdo.A Год назад +1

    Don't mean to put you down but I thought you figured a way to control that from the scale property

  • @nahuelfantino
    @nahuelfantino Год назад +1

    subscribed

  • @lushprod
    @lushprod Год назад

    nice ! and diagonal?

  • @mattbarb101
    @mattbarb101 4 месяца назад +1

    Err I cant get the expression to work in AE 2024 Menthod name incorrect when it isnt

    • @nearyung6052
      @nearyung6052 Месяц назад +2

      I can't get the expressions to work on my AE 2024 as well.
      but then I realize if I simply adjust the "size" value under the "rectangle path 1" tab.
      it won't mess up the roundness of the shape.

  • @presencefeeling
    @presencefeeling 10 месяцев назад +3

    I found a simpler way. Just change the dimensions in the properties panel. So you avoid expresions. Then you can scale proportionaly.

    • @liamsi75
      @liamsi75 2 месяца назад

      Indeed that works perfectly.

    • @TinyTakes-
      @TinyTakes- 2 месяца назад

      @@liamsi75 It still distorts the roundness even when I use the properties panel by only Scaling the X.

    • @liamsi75
      @liamsi75 2 месяца назад

      @@TinyTakes- Try changing the size of the object in the control panel, not the scale.

    • @TinyTakes-
      @TinyTakes- Месяц назад

      @@liamsi75 I tried doing that first, but it doesn't go to where your anchor point is at, which is what im trying to do :(

  • @EmmaKoopstra
    @EmmaKoopstra 2 месяца назад

    i need this but for photoshop

  • @nikyabodigital
    @nikyabodigital Год назад

    I hope AE ads 1 click bottom field under anchor point like..... "top bottom or that shi" but this is a good solution

  • @radnetro
    @radnetro Год назад +1

    How do you do this with middle left?

    • @4ngles
      @4ngles Год назад

      Same question here

    • @jamskof
      @jamskof Год назад

      you dont. its illegal

    • @MotionCaddy
      @MotionCaddy  Год назад +2

      Hi, copy and paste this expression into the shape's anchor point and it will be aligned to the left center:
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      [w/-2, 0]

  • @jamskof
    @jamskof Год назад

    shape layers even have an anchorpoint in transform yet it doesnt work with this!?!

  • @sylvesterabba7882
    @sylvesterabba7882 2 года назад

    awesome

  • @DmitrijPaskevic
    @DmitrijPaskevic Год назад +4

    When I stumble upon these situation I keep thinking to myself..Why am I paying Adobe for this half-assed peace of crappy software? Like, instead of shoving AI into every corner of your apps, how about you bring some QOL improvements yo the UI?? Like, the millions of plugin that are created for AE are just a testament to how shit your app is. Also, thank you so much for this video!

  • @okikai
    @okikai Год назад

    what if you want the anchor to be centered?

    • @mxm-tt1ce
      @mxm-tt1ce Год назад

      just delete 3rd line

    • @MotionCaddy
      @MotionCaddy  Год назад

      To center the anchor point all you would need to do is change one of the outputs to a '0'.
      For example, to center it to the top, just change the 'w' output to a '0'. You can even delete the first line as it is no longer used:
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [0, h/-2]
      To center to the left:
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      [w/-2, 0]
      To center to the right:
      w = content("Rectangle 1").content("Rectangle Path 1").size[0];
      [w/2, 0]
      To center to the bottom:
      h = content("Rectangle 1").content("Rectangle Path 1").size[1];
      [0, h/2]

  • @adamcoppock5018
    @adamcoppock5018 2 месяца назад +1

    Thanks for the video, another example of terrible UX from Adobe. "Designed by engineering to be used by creators"

  • @AliAdams-ng4wd
    @AliAdams-ng4wd 4 месяца назад

    adobe is so behind i hate them

  • @elnino4445
    @elnino4445 Год назад

    Just make it in illustrator and put it as a png

    • @jamskof
      @jamskof Год назад +4

      that made no sense whatsoever