This question is a little goofy and I’m not really sure how to explain it.
Below is a simple example of what I’m trying to accomplish.
[lua]
spaceShip = display.newCircle(50,50,50)
function move(object, axis, value)
object.axis = object.axis + value
end
move(spaceShip, “y”, 10)
[/lua]
Thanks!