``` function rotate_tool(name, tool_no, direction) { if (direction === 1) { name.from = -(360/12 * tool_no) name.to = -(360/12 * tool_no + 360/12) name.restart() } else if (direction === -1) { name.from = -(360/12 * tool_no) name.to = -(360/12 * tool_no - 360/12) name.restart() } } FontLoader { id: font source: "/home/chris/BebasKai.ttf" Connections { target: atc_spiner onMoveToPocketSig: { console.log(pocket_num) rotate_atc(atc_anim, pocket_num, 1) rotate_tool(tool_anim_1, pocket_num, 1)```