Added getTweenForObject function