Changing Text Style The style of text can be changed at any time with the textStyle property. However, the value cannot be animated over a duration. The value will change instantly. This demonstration has one script with seven actions. The actions run in order, one after the other. Each action waits for a one second delay before running.