Hi ! I have some issues with the layer object.
I'm making a fighting game with different maps, and one of them is in a synthwave esthetic.
I found a effect called "Channel Blur" that creates a vhs type of ambiance.
I added a condition : "If (map counter)=1 then -- Layer object/Layers/By index/Effect/1/Channel Blur"
It should normally set the effect on the first layer, but it doesn't.
If i mannually put the effect on the layer it works fine, but if I add the line of code, it just deletes the current effect. It seems that the layer object can't set another effect than "None" to a layer.
If someone knows how can I fix that, or find some other way to do it, it will be awesome.
(sorry for the bad english)
Please login to see this attachment.