- Home /
Question by
vegetablebread · Dec 11, 2014 at 10:44 PM ·
inputmobiletouch
What happens to Input.mousePosition on mobile when there are no touches?
I know that Input.mousePosition is related to the current touches on the screen, but what if there are no touches?
Specifically, does:
if (Input.GetMouseButtonUp(0)) {
Debug.log(Input.mousePosition.toString());
}
Log the last known touch position on the frame when a single touch is released?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613173829im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
mouse input to touch input help please 0 Answers
Detect if finger lifted off screen 1 Answer
Convert Mouse Input to Touch Input 0 Answers
Android touches wrong after using the application at least once 0 Answers
Touch Controlled Orbit Camera 0 Answers