Need help with directing an overlay

Hey,
I’m attaching a part of my script, it’s an overlay animating code.

INT. BLUE SCHOOL HALLWAY - DAY with BUBBLEGUM to .0002 214 331 in zone 1 at layer 2
@AKASHI spot 0.801 220 192 in zone 1
@AKASHI moves to layer 0
@AKASHI is idle_cigarette_angry_loop
@zoom reset
&pan to zone 1 in 1.5
@pause for 2
@AKASHI changes into AKASHI_red
@AKASHI faces left
@AKASHI is smoke_cigarette_angry
@zoom on 241 289 to 301% in 1
@overlay BUBBLEGUM opacity .85
&overlay BUBBLEGUM shifts to 200 320 in zone 1 at layer 2 in 0 using easebounceout
@overlay BUBBLEGUM scales to 0.014 0.014 in 0
@overlay BUBBLEGUM scales to 0.028 0.028 in 2
@overlay BUBBLEGUM scales to 0.014 0.014 in 2
&overlay BUBBLEGUM shifts to 214 331 in zone 1 at layer 2 in 1 using easebouncein
@overlay BUBBLEGUM scales to 0 0 in 1
&overlay BUBBLEGUM shifts to 200 320 in zone 1 at layer 2 in 0 using easebounceout
@overlay BUBBLEGUM scales to 0.014 0.014 in 0
@overlay BUBBLEGUM scales to 0.028 0.028 in 2
@overlay BUBBLEGUM scales to 0.014 0.014 in 2
&overlay BUBBLEGUM shifts to 214 331 in zone 1 at layer 2 in 1 using easebouncein
@overlay BUBBLEGUM scales to 0 0 in 1

Here I’m trying to animate a bubblegum, but it’s not working in a symmetrical way. Can anyone help me with this, please?
Thank you

hard to help without seeing the overlay - but if you want to scale it from the center - you need to change the anchor point.

1 Like

Ok, let me try then. Thank you.

If you’re using easing functions, you’re supposed to use them for both scaling and shifting, like this:

&OVERLAY overlayname shifts to x y in s using easefunction
@OVERLAY overlayname scales to size in s using easefunction

Make sure you use ‘&’ for shifting and ‘@‘ for scaling, if you want the animation to happen simultaneously.

I hoped this fixed your error

1 Like

Thank you, I’ll keep that in mind.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.