Skip to main content
Participant
March 23, 2021
Answered

Appearing and Disappearing Same Object at different positions

  • March 23, 2021
  • 2 replies
  • 2013 views

Hey guys,

I have single object that I want to appear and later disappear, to later reappear at another position and so on, so forth throughout my project timeline. What would be the best way to should go about this? 

 

Thanks!

 

Charles

This topic has been closed for replies.
Correct answer P.M.B

Unless you are wanting the object to appear at random locations as Jose described this is pretty basic stuff.

Just keyframe the layers opacity to zero, then keyframe it's position to the new place and then keyframe the opacity back on.  As Jose said you'll have to put holds on the keyframes so they don't drift the next position.  Do this by right clicking on the keyframe and selecting it from the context menu. You could also manually hold the position by adding two key frames for each position: one for the position it stops at and then second keyframe at the same position for when starts moving again.

Repeat.

 

Or if it will work with popping on and off frame to frame you can just duplicate the layer put the different duplicates in the places you want them and then trim the layers so they appear and disappear when you want.

2 replies

P.M.B
P.M.BCorrect answer
Legend
March 23, 2021

Unless you are wanting the object to appear at random locations as Jose described this is pretty basic stuff.

Just keyframe the layers opacity to zero, then keyframe it's position to the new place and then keyframe the opacity back on.  As Jose said you'll have to put holds on the keyframes so they don't drift the next position.  Do this by right clicking on the keyframe and selecting it from the context menu. You could also manually hold the position by adding two key frames for each position: one for the position it stops at and then second keyframe at the same position for when starts moving again.

Repeat.

 

Or if it will work with popping on and off frame to frame you can just duplicate the layer put the different duplicates in the places you want them and then trim the layers so they appear and disappear when you want.

~Gutterfish
Jose Panadero
Community Expert
Community Expert
March 23, 2021

You have a couple of possibilities:

1.- Use this expression on the position parameter so the item can appear randomly in any position inside the composition window. Also, if you want the random expression not to generate a random value in every frame, you can add the Posterize effect to the layer and limit the frame rate to a different value.

px = random(width);
py = random(height);
[px,py]

2.- Simply adding keyframes to the position of your layer and change the interpolation to hold keyframes (Animation > Toogle Hold Keyframes). This way you will avoid interpolation between the position keyframes.