Is there a way to rotate overlays in place?


#1

Can I rotate overlays in place? Like they will just spin around.


#2

Yes :slight_smile: Have a look here


#3

I did, I couldn’t find something about it.


#4

I tried 0.5 with 360 degrees, normally it has to spin around but it moves to somewhere else


#5

Let’s see your code


#6

EXT. EPISODE with PURPLE POWER to 1.000 255 -72 in zone 1 at layer 1
@pause for a beat
@overlay PURPLE POWER shifts to 0 0 in 2 THEN pause for a beat
@overlay PURPLE POWER shifts to 0 0 in 2 AND overlay PURPLE POWER rotates 360 anchor point 0.5 0.5 in 2


#7

I would try experimenting with the anchor point. That decides which “angle” your overlay rotates on :slight_smile:
Maybe try:

@overlay PURPLE POWER shifts to 0 0 in 2 AND overlay PURPLE POWER rotates 360 anchor point 1 1 in 2

-OR-

@overlay PURPLE POWER shifts to 0 0 in 2 AND overlay PURPLE POWER rotates 360 anchor point 0 0 in 2


#8

Sadly, it’s not spinning it’s moving


#9

Try this:

EXT. EPISODE with PURPLE POWER to 1.000 255 -72 in zone 1 at layer 1
@pause for a beat
@overlay PURPLE POWER shifts to 0 0 in 2 THEN pause for a beat
&overlay PURPLE POWER shifts to 0 0 in 2
@overlay PURPLE POWER rotates 360 anchor point 0.5 0.5 in 2


#10

It moved to bottom left of the screen then rotated there


#11

Well you’re shifting to 0 0
That’s what’s going to happen


#12

I have to because my overlay is at the center of the screen


#13

You want to move the overlay to the left and then spin? Or…?


#14

I want overlay to be offscreen then move to screen center then spin around but it’s impossible


#15

No it’s not. Let’s figure it out.

Okay when you first put in the overlay, it’s already offscreen?


#16

Yes


#17

Okay great now

You want it to move to the center.
Do you have the coordinates for that? (X Y)


#18

Yes I made the overlay right in the screen so it’s 0 0


#19

That’s not right. I’d check again.

The coordinates 0 0 will put the overlay at the bottom left of the screen


#20

Oh my god i can’t believe it! It worked! Thank you so muchhhhhhhhhh