How to start function that active objects and in the meanwhile stopping readvalue ?

Please don’t multipost. Please follow up in the original thread, you’ve asked on 3 separate threads now. If you have questions, please ask here Script which helps me to check values into a range of time As has been mentioned, you would want to use Update() and perhaps call ReadValue() from there based on a condition. Be sure to place plenty of Debug.Log statements throughout your code so can confirm what is being executed and what the variable values are at runtime. This may help also to help debug your code Tips for new Unity users