Skip to main content
Question

Invalid format for effects

  • December 12, 2023
  • 0 replies
  • 121 views

Pavel_Kiselev

Today my plugin code stopped working. I am using plugin API to set layer blur effect on a selected layer

const blur: BlurEffect = {
    type: "LAYER_BLUR",
    radius: radius,
    visible: true
};

shadowLayer.effects = [blur];

And I am getting

Uncaught (in promise) Error: in set_effects: Invalid format for effects

Have no idea what has changed though, a few days ago the same code worked just fine

Would appreciate any help

This topic has been closed for replies.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings