<div on:mousemove="set({ x: event.clientX, y: event.clientY })">
coords: {x},{y}
</div>
<style>
div {
border: 1px solid purple;
width: 100%;
height: 100%;
}
</style>
{}