oh and I meant putting a while wend loop in a def makes it stay in that loop, just don't make it an infinite loop. like a goto it would keep it there until you do something (whatever it is set to)