Stan: What are those, ah, cotton pants?
Kramer: Yeah...Why, is it too cold out?
Stan: Here's what you do: you bring a lightweight jacket, that way the sun comes out, you play the jacket off the sweater.
I couldn't understand the usage of "play" and "off" here so I failed to understand the meaning of this line.