Moving overlays foward

Hey! I want to make it so my overlay moves forward towards the screen and then fade out? What would be the correct smooth coding to achieve that? Thanks!

2 Likes

Scale and shoft it then
@overlay NAME opacity 0 in 5(so, it fades out slowly but you can lower it)

1 Like

To create a smoother and more subtle effect, you can use easing functions.

1 Like

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

Always remember to use the & for shifting and the @ for the scaling.

Also remember to use the ease function on both shifting and scaling, ore else it won’t work.

Here are the different easing functions you can use:

Easing functions

image

Thank you all!

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