The second property of the Button component is the Transition property. The Transition property determines the way the button will visually react when the button is in different states. These different states are not-highlighted (or normal), highlighted, pressed, or disabled. These transitions are performed automatically and do not require coding.
There are four different types of Transitions you can assign: None, Color Tint, Sprite Swap, and Animation.