<script setup lang="ts">
const props = defineProps<{
  x: number;
  y: number;
  opacity: number;
}>();

const { assets } = useAssets();

useRender((ctx) => {
  ctx.globalAlpha = props.opacity;
  ctx.drawImage(
    assets.home.bottomScreen.buttons.downloadPlay,
    props.x,
    props.y,
  );
});

defineOptions({
  render: () => null,
});
</script>
