this small loop is based off animator vs animation by Alan Becker on youtube soooooooooo thanks to him