ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Error: index 1 out of range for stream of dimension 1

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


aniello ferrone
Error: index 1 out of range for stream of dimension 1
on Oct 10, 2019 at 11:01:22 am

Hi guys, need your help

I have this expression in the position of rectangle path

var s = thisComp.layer("Controller").effect("Text 01 Font Size")("Slider");
var ah = 1-thisComp.layer("Text 01").effect("Text Align Horizontal")("Slider")-0.5;
var av = 1-thisComp.layer("Text 01").effect("Text Align Vertical")("Slider")-0.5;
[s[0]*ah, s[1]*av];

why I'm getting this error?

Error at line 10 in property ‘Position’ of layer 3 (‘Frame 01’) in comp’2 - AUTO-RESIZE-BOX / ANCORAGGIO’
Error: index 1 out of range for stream of dimension 1

how can I solve it?

Thx so much in advance
Aniello


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]