Hello @pluto,
I have implemented some functionality of this on a similar topic Help debug student program this takes into account of the sprites being centered and being rendered properly
By using the in built camera system you can check for specific sprites should be rendered on screen before having to draw them
The check i had made for this project is subpar and likely will be needed to be modified for your use case