Notifications
Clear all

[Closed] connection between attribute holder and expression controller

Hi
I have a cylinder and i want it to move in automated way at Y axis
so i did assigned expression controller at the Y using the cosh function
like so:
cosh(sin(T))
then i wanted to control it with a switch to shut it off/on
I did used the attribute holder with a slider its value 0 & 1
and i want to develop my expression to link it to the slider but i cant figure it out
i try to use if function like so :
if(custAttributes.move =1, cosh(sin(T)), 0)
but it gives an error
any advice on this ??