How to get the 2d animation property values?

I want to read the 2d animation property value and assign it to an another variable. can somebody please help on it?