Get/set funiction for sprite is available.

And sprite uses float instead double.