Rendering Animation upon change of Input Variable Enclosed is a simple RIVE Anystate animation t...

Rendering Animation upon change of Input Variable

anystate_test.rev

Enclosed is a simple RIVE Anystate animation that is dictated by a Card_Num of 0,1,2,3 under a View Model to dispaly different shape…The file can be rendered and animation disaplyed well per the Card_Num in the RIVE editor, when i change the number during runtime in Riv Ediotr it is working well too with the image changing … however when i try to do the sam eon the website, i can’t code it in a way that by chnaging the variable the Visual will change accordingly?? is this posible…below code if anyone can help…


Code_Test.txt