Attempt at getX and getY blocks (not working)

Not sure why it’s not working (calling function from console works
fine).