Hey, i am developing a game for android and it involves shooting a raycast and teleporting where it hits when the screen is touched but when i touch the move area to walk forward it teleports me, i want to know how to only teleport when the top part of the screen is touched.
you can define a new Rect for the top of your screen and test if the position of the touch is contain or not in the rect.