Why is UI not updating properly based on variable changes in recursion function?
I am making a hand-drawn animation app where when the user presses play, they can see their animation running. I am just having a lot of trouble updating the UI of the timeline so that it shows which frame is currently being played.