Hey, I have the following source code to move an object by its name to a given X position. But I just can't figure out how to get the current Position of it...
const instances = this.GetProject().GetObjectTypeByName("Sprite").GetAllInstances()
instances.forEach(instance => {
instance.SetX(20)
})