I'm trying to make an object fade out at the start of a layout, but it instantly turns transparent from black after a moment at the start. There was no way I could find to subtract from the opacity value through one function, so I had to use a variable as a workaround.