You could try something like this: [VarDef, xCenter, 0] [VarDef, yCenter, 0] [VarDef, zCenter, 0] [VarDef, xSnap, 0] [VarDef, ySnap, 0] [VarDef, zSnap, 0] [VarDef, curTool, 0] [VarDef, oriTool, 0] [VarDef, mergedTool, 0] [VarSet, mergedTool, [ToolGetCount]] [VarSet, curTool, [ToolGetActiveIndex]]…