how can i convert Input.mousePosition ?
it work fine but for have it false i most to touch outside the rect .
maybe someone know other metod to do a button in a zone of the screen ?
GUI not function in a function Update() .
var rect = Rect (0,0,80,80);
if (rect.Contains(Input.mousePosition)){
speed = 1 ;
}