see inside
A lot of programing languages have a dedicated loop for this. For questions about this, please ask on @Catscratcher07 linking here, or on the forum post where I linked this. I'm am not as active on this account and might not respond promptly