Forum Discussion
MarkSpermon-33e
27 days agoCommunity Member
New Storyline Javascript API
Hi all, In the new Javascript APi You can call the state of an object. I assume you can also change the state of an object. it tried it with code below:
const answerBlong = object('6bfht...
Jim_Arbon
27 days agoCommunity Member
I had a similar issue - I don't think it likes changing to a state that has a name that's the same as the built-in ones. Try a new custom state with a name like "SelectedSL" and it should work. I've got it to change states using this workaround.
Ideally they would fix this in a new release, because duplicating a state just for this is a pain.