add a SideEffect to the composable. it was a long time since I last checked, but somewhere, I have read that SideEffect works after composition is finished (every time). I might be wrong, but if it still works like that, you can hold a remembered value if the screen is drawn and start the animation when that value is true