AE Question
- Started
- Last post
- 10 Responses
- Hombre_Lobo
hey fellas
does anyone know an expression or effect for moving a layer in AE, which moves it from one place to another, but in steps?
IE, say i want some text to move 10 pixels to the left every second, but without the smooth motion tween.
Hope you can help!
- AdamC0
Right click the keyframes > toggle hold keyframe
- < threadkillerarne
- thanks but i still have to do the manual keyframing, cheers thoughHombre_Lobo
- uan0
posterizeTime(1);
value - [time*10,0];
(expression in position layer)
- whereRI0
im not good with the exact language Hombre, but it would look something like this i reckon.
alt click on the position stop watch of the text
time*1
x=value[-10] + tu should be able to find the exact language somewhere tho
- Hombre_Lobo0
@uan
i cant get that to work :/
After Effects warning: Expected: )
Expression disabled.Error occurred at line 3.
Comp: ‘Comp 1’
Layer: 2 (‘Shape Layer 1’)
Property: ‘Position’thanks again everyone, thanks uan, ope you can help!
- though, those errors do not come from my expression, there's no line 3 :)uan
- uan0
I had a problem copy-pasting from here, but taking away a ? in the middle made it work.
- uan0
- Hombre_Lobo0
uan u genius!!!!
thanks mate :DposterizeTime(t);
value - [time*x,y];obviously x = pixel distance (not sure about 'y'), but i couldnt change the time.
t = time, but it was set to 1 second, i couldn't change it to .5 (for half a second).any idea how to speed it up / slow it down?
i could precomp it and change time, but this would be tidier :)
thanks again!
- Hombre_Lobo0
@uan
thank dude!ive got it to work, but could you explain what the three separate values represent?
im think ive understood it -
posterizeTime(t);
value - [time*x,y];t = amount of steps/moves per second
x= amount of pixels moved per second
y = ?Thanks again mate.
- uan0
t = amount of steps/moves per second (frames per second)
x = amount of pixels for x-axis (i.e. horizontal)
y = amount of pixels for y-axis (i.e. vertical)
time = actual playhead time in secondsposterizeTime(t) --> change framerate of this layer to t frames per second.
value - [time*x,y] --> result for position = default value (x,y) - (playheadtime*amount of x, y)
- Hombre_Lobo0
thanks mate!!
bizarrely i can get it to do it fine sideways, but not vertically :/
(i assumed you would leave x as 0, and set y to something)- ah i bet its value - [x,time*y].
silly me :)Hombre_Lobo - glad it worked :)uan
- i owe u a drink sir!Hombre_Lobo
- Cheers!uan
- ah i bet its value - [x,time*y].