Hey! I'm trying to create a side-menu, which should animate from left into the viewport. The default x value is -630 (the menu width) and a button should toggle the x value from -630 to 0 with a animation.
On the screenshot you can see my event listener on the toggle button. why is there a error report, that I can't animate the x value of the layer element?