Python Game Coordinates

Is it possible to get a single coordinate for 1 variable in the game engine using a python script eg x = 242 instead of the normal cords = 134,13,5 from own.getPositon

myPosition = own.getPosition()
xCoordinate = myPosition[0]

getPosition() returns a list[x,y,z], so:

myPosition[0] is x
myPosition[1] is y
myPosition[2] is z

:smiley: Thanks that is most helpfull