Skip to main content
Inspiring
Jun 4, 2025 12:41 AM UTC
Answered

Stretch shape size on one side only

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.

ShiveringCactus
ShiveringCactusCorrect answer
Community Expert
Jun 4, 2025 7:59 AM UTC

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.

4 replies

thepixelsmith
Community Expert
Community Expert
Jun 5, 2025 12:15 PM UTC

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. 

Translate
Jerron Smith | www.thepixelsmith.com
ShiveringCactus
Community Expert
ShiveringCactusCommunity ExpertCorrect answer
Community Expert
Jun 4, 2025 7:59 AM UTC

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.

Translate
CalaiAuthor
Inspiring
Jun 6, 2025 2:12 AM UTC

Would you elaborate on this FX Console? 

Translate
ShiveringCactus
Community Expert
Community Expert
Jun 6, 2025 6:09 AM UTC

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.

Translate