Sets the current value of the indicated mode type to the passed value.
type
Play instance
The new value for the type