I'd love to read (or change) a value inside a state (without deleting and recreating a state) but it looks like that isn't supported.
You can print (read) the properties from a state change. For example, you can track any changes to the y position like this: :)
Looking at the console.log output, it seems like print box.states._states.small.x should work in your case
Andreas gave the answer I was looking for! You can also change states this way. thanks guys!
^ OOOH! I've wondered about this but haven't had time to dig in.
Sometimes I will animate out and then want to return back to a state value... but if it's set dynamically it's not always clear what it should be.