I can’t quite understand your question but if your issue is that repeatedly hitting the “9” key causes it to eventually get stuck at 9 on the x-axis then the reason is because iTween’s “From” methods will move an object from the supplied coordinate to the current value. With your script if you hit “9” while it is currently moving it will cause iTween to take a snapshot of the object’s current position and use that as the target position after it moves the object to a position of 9. To remedy this just reset the position before you make you iTween call:
var titleText : GameObject;
private var startingPosition : Vector3;
function Awake(){
startingPosition=titleText.transform.position;
}
function kautkas(){
titleText.transform.position=startingPosition;
iTween.MoveFrom(titleText,{"x":10});
}
function Update(){
//because of timing issues we need to run the Stop method on key down...
if( Input.GetKeyDown ("9")){
iTween.Stop(titleText,"Move");
}
//and the new iTween on key up
if( Input.GetKeyUp ("9")){
kautkas();
}
}