Forum Discussion

SamClark's avatar
SamClark
Community Member
8 years ago

Change State on variable

A shape with 50 states named 1, 2, 3, ... 50.

A variable number with values 1, 2, 3, ... 50

Is there any way to set the shape's state according to the variable value without creating 50 triggers?

  • SamClark's avatar
    SamClark
    Community Member

    I didn't think so, but maybe someone has a magic JavaScript?

  • I cant believe, that this is still not possible.

    I am a designer with a dev-background and for me there is no reason why you shouldnt be able to do something like "state = %varX%" respectively "set state of object to the value of variable X".