Forum Discussion
VicovandenEv121
5 months agoCommunity Member
Change state by new JS API
How can I change the state of an object using the Storyline Advanced JS API?
Tried putting this in a Execute Javascript Trigger:
object('6RWzLNBS5La').state= 10;
(10 is the name of the state)
...
- 5 months ago
It should work if you put the 10 in quotation marks :)
object('6RWzLNBS5La').state= "10";
CharlotteHasler
5 months agoCommunity Member
It should work if you put the 10 in quotation marks :)
object('6RWzLNBS5La').state= "10";
Related Content
- 2 months ago
- 6 months ago
- 2 years ago