I have a scrolling background, a building with window. As the viewport scrolls, windows will come in and out of view of the user. I would like images to appear in the windows every few seconds but only if the windows are in the current viewport. Each window is represented as a sprite on top of the background. How do I detect if the current sprite is within the viewport? Thanks!