let time be absolute
add setTime function to sprite