Saltar la navegación

6 MoveToItem

var sevillana = Scene.getItem ('');

var boy = Scene.getItem ('');

var chinesegirl = Scene.getItem ('');

var distance = sevillana.distanceToItem(boy);

sevillana.moveToItem(boy, distance - 2, function() {

});