Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download
Problem with adding attributes
-
I have one problem.I choose Component attributes and choose onClick event.There i write
IF(X>5,animate(X,X,X-5),animate(X,X,X+5)).What mistake i have????
Thanks,Filip
-
I think you need to add quotes around the variable you want to animate, like this:
IF(X>5,animate("X",X,X-5),animate("X",X,X+5)) -
Thanks man but it doesn't work.I think i can find the problem.Where i have writed the function animate,should be writed a variable,but i dont want to change variable X,i want to call function animate,so X can be changed,but that would be like animation.
Thanks
Advertisement