Add a boolean to change animation