Changing currentSheet and currentAnim to hidden in the inspector, renaming imgNum to sheetNum for clarity