Javascript Move element para coordenadas

const el = document.getElementById('element-id')

const position = {
	x: 500,
    y: 50
}

el.style.position = 'absolute'
el.style.left = `${position.x}px`
el.style.top = `${position.y}px`
florinrelea