Chapter 632: xyTranslate()
Core Idea
_Part of the @remotion/effects package.
Key Concepts
- Preview
- Example
- API
- x?
- y?
- disabled?
- See also
Code Examples
export const MyComp: React.FC = () => {
return (
<AbsoluteFill>
<Video
src="https://remotion.media/video.mp4"
effects={[xyTranslate({x: 120, y: 80})]}
/>
</AbsoluteFill>
);
};
- What it demonstrates: Usage pattern for xyTranslate() from the official docs.
Key Takeaways
- Understand preview when working with xyTranslate().
- Understand example when working with xyTranslate().
- Understand api when working with xyTranslate().
- Understand x? when working with xyTranslate().
- Understand y? when working with xyTranslate().
Connects To
- Animated Emoji: related page in the Effects Library section.
- get Available Emoji: related page in the Effects Library section.
- api: related page in the Effects Library section.