I’ve got some code in Update() that among other things tells a gameObject to move if you click the mouse on a “starting” block. However, if you’re just dragging the mouse around, I change the position of the gameObject, based on what starting block the mouse is hovering over and that code is controlled by a state var. So when you finally click the mouse, the state changes so I quit looking for a starting position and just tell the object to move…the problem is that if i have the code for the position setting commented in, anyKeyDown never has a true value…if I comment out the positioning code, I’ll get anyKeyDown values the frame it goes true…any ideas?
Thanks