GSNICE Does "frame" give you what you are looking for? It will give you the X, Y coordinates of the object, as well as the width and height.
const sketch = require("sketch")
const document = sketch.getSelectedDocument()
const selections = document.selectedLayers
const selection = selections.layers[0]
console.log(selection.frame)