API Reference > ui-framework > Hooks > useScheduleAnimationDataProvider useScheduleAnimationDataProvider Function Hook that returns either a ScheduleAnimationTimelineDataProvider or undefined based on if the supplied viewport contains schedule script. useScheduleAnimationDataProvider(viewport: undefined | ScreenViewport): undefined | ScheduleAnimationTimelineDataProvider Parameter Type Description viewport undefined | ScreenViewport Returns - undefined | ScheduleAnimationTimelineDataProvider Defined in ui/framework/src/ui-framework/hooks/useScheduleAnimationDataProvider.tsx Line 46 Last Updated: 11 June, 2024