The rotation angle values are coming one by one after mouse clicking over OSC message from processing app. What I want: If I fill in the text box in processing app angle value and click SEND then the value entered will be sent to Unity. The object has to rotate only this for example 0.35 rad. But it continues its rotation on and on.. UnityOSCListener.cs Code (csharp): using UnityEngine; using System.Collections; using System.Collections.Generic; public class UnityOSCListener : MonoBehaviour { public static float angle; public void OSCMessageReceived(OSC.NET.OSCMessage message){ string address = message.Address; ArrayList args = message.Values; if (address == "/angles") { angle = (float)args[0]; } } } RotateAroundPivot.cs Code (csharp): using System; using System.Collections; using System.Reflection; using UnityEngine; public class RotateAroundPivot : MonoBehaviour { private bool moving = false; private float angle1; void FixedUpdate() { if(!moving) { moving = true; angle1 = UnityOSCListener.angle; iTween.RotateBy(gameObject, iTween.Hash("y", angle1, "oncomplete", "resetMoving", "easeType", "easeInOutBack", "delay", .6)); } } void resetMoving() { moving = false; } }