Drawing same artboard twice with different view model states

I’m trying to do a few advanced things in my game code for the rendering loop. I’ve written my own game engine that uses Rive. There are a few elements I would like to render twice on one render loop. Is this possible?

One example is the game tiles. I’ve got some for active, some for disabled, and one for the mouse. I figured I could update the view model, advance the state, draw, then later, advance the state again and draw again, but it seems to only use that last state available.

For the tiles, I ended up making several artboards for every possible state and drawing those repeatedly, but this seems like a waste of memory. I’m now trying to do this with a masked 2D image so characters can walk through it with different masks being active so it appears the character is walking through it. Here’s my code in javascript:

draw(elapsedTimeSec, mask = null) {
        if(this.viewModel != null) {
            // if mask is not null, set view model enum to the mask
            const maskEnum = this.viewModel.enum("Mask");
            if(mask != null) {
                maskEnum.value = mask;
                this.stateMachine.advanceAndApply(elapsedTimeSec);
            } else {
                maskEnum.value = "None";
                this.stateMachine.advanceAndApply(elapsedTimeSec);
            }

            this.offset.tx = -Game.TILE_WIDTH_HALF + this.xOffset - this.artboard.bounds.maxX / 2;
            this.offset.ty = -Game.TILE_HEIGHT + this.yOffset - this.artboard.bounds.maxY / 2;
            RiveRenderer.renderer.save();
            RiveRenderer.renderer.transform(this.offset);
            this.artboard.draw(RiveRenderer.renderer);
            RiveRenderer.renderer.restore();
        }
    }

This has the same issue though where it only draws the last masked state. Am I misunderstanding how the renderer works? Or am I overthinking it and multiple artboards from one file is fine?
Thanks!