public static void DeleteLocalVariable(Program project, Sprite sprite, LocalVariable variable) { sprite.LocalVariables.Remove(variable); }