I want void loop to go through once

Thank you this pointed me in a much better direction than what I would’ve ended up doing