Skip to main content
Inspiring
June 4, 2025
Answered

Stretch shape size on one side only

  • June 4, 2025
  • 2 replies
  • 992 views

Say I have a square and I want to extend nothing but the left size. The way I've found to do that is moving the anchor point to the other side first. If not, I would increse the size of the whole shape altogether.

Isn't there a hold down CTRL type of deal before clicking and dragging? It seem too much of effort having to move to anchor point first.

Correct answer ShiveringCactus

Not that I am aware of, the closest thing I can think of would be to set an expression to the anchor point and save it as a preset.

var width = thisLayer.sourceRectAtTime().width;
var edge = width/-2;
[edge,value[1]]

 

But with shape layers, each shape also has it's own transform properties, which gets frustrating.  I made a script to centre shapes on the layer position.  You're welcome to try it:
https://www.dropbox.com/scl/fi/gm38jcnmwndn2sp19dfsc/Centre-Shape-by-ShiveringCactus.zip?rlkey=kdvcpkldj4bii9xn8nu5szi1b&st=hck46ikp&dl=1

 

In both cases, using a free tool like FX Console makes applying them a single click.

2 replies

thepixelsmith
Community Expert
Community Expert
June 5, 2025

Scaling in AE, is always based on the position of teh anchor point unlike in other programs there is no keyboard modifier to shift scaling from the center or opposite corner. 

ShiveringCactus
Community Expert
ShiveringCactusCommunity ExpertCorrect answer
Community Expert
June 4, 2025

Not that I am aware of, the closest thing I can think of would be to set an expression to the anchor point and save it as a preset.

var width = thisLayer.sourceRectAtTime().width;
var edge = width/-2;
[edge,value[1]]

 

But with shape layers, each shape also has it's own transform properties, which gets frustrating.  I made a script to centre shapes on the layer position.  You're welcome to try it:
https://www.dropbox.com/scl/fi/gm38jcnmwndn2sp19dfsc/Centre-Shape-by-ShiveringCactus.zip?rlkey=kdvcpkldj4bii9xn8nu5szi1b&st=hck46ikp&dl=1

 

In both cases, using a free tool like FX Console makes applying them a single click.

CalaiAuthor
Inspiring
June 6, 2025

Would you elaborate on this FX Console? 

ShiveringCactus
Community Expert
Community Expert
June 6, 2025

FX Console is a free tool from Video Copilot:

https://www.videocopilot.net/blog/2018/05/fx-console-updated-to-v1-0-3/

It contains several features - such as a really easy way to take screenshots.  And it also includes the ability to set shortcuts to apply presets.